We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ca36d0 commit c082762Copy full SHA for c082762
Dockerfile
@@ -1,11 +1,10 @@
1
FROM php:7-apache
2
MAINTAINER Kevin Williams (@llslim) <[email protected]>
3
4
-RUN set -ex \
5
- \
+RUN set -eux; \
6
if command -v a2enmod; then \
7
a2enmod rewrite ssl; \
8
- fi \
+ fi; \
9
buildDeps=' \
10
libjpeg-dev \
11
libpng-dev \
@@ -23,7 +22,7 @@ RUN set -ex \
23
22
apt-get install -y --no-install-recommends $buildDeps; \
24
# build php extensions with development dependencies, and install them
25
docker-php-ext-configure \
26
- gd --with-jpeg-dir=/usr --with-png-dir=/usr; \
+ gd --with-jpeg --with-png \
27
docker-php-ext-install -j "$(nproc)" gd mbstring opcache pdo pdo_mysql pdo_pgsql mysqli zip; \
28
# install xdebug extension
29
touch /tmp/xdebug.ini; \
0 commit comments