Skip to content

Commit c082762

Browse files
committed
fixes issues #3, #4, and #5
1 parent 0ca36d0 commit c082762

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
FROM php:7-apache
22
MAINTAINER Kevin Williams (@llslim) <[email protected]>
33

4-
RUN set -ex \
5-
\
4+
RUN set -eux; \
65
if command -v a2enmod; then \
76
a2enmod rewrite ssl; \
8-
fi \
7+
fi; \
98
buildDeps=' \
109
libjpeg-dev \
1110
libpng-dev \
@@ -23,7 +22,7 @@ RUN set -ex \
2322
apt-get install -y --no-install-recommends $buildDeps; \
2423
# build php extensions with development dependencies, and install them
2524
docker-php-ext-configure \
26-
gd --with-jpeg-dir=/usr --with-png-dir=/usr; \
25+
gd --with-jpeg --with-png \
2726
docker-php-ext-install -j "$(nproc)" gd mbstring opcache pdo pdo_mysql pdo_pgsql mysqli zip; \
2827
# install xdebug extension
2928
touch /tmp/xdebug.ini; \

0 commit comments

Comments
 (0)