We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a01d48c + 2e2036d commit e7b6b3bCopy full SHA for e7b6b3b
Dockerfile
@@ -5,9 +5,9 @@ RUN apt-get update && apt-get install -y rsync && rm -r /var/lib/apt/lists/*
5
RUN a2enmod rewrite
6
7
# install the PHP extensions we need
8
-RUN apt-get update && apt-get install -y libpng12-dev && rm -rf /var/lib/apt/lists/* \
9
- && docker-php-ext-install gd \
10
- && apt-get purge --auto-remove -y libpng12-dev
+RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev && rm -rf /var/lib/apt/lists/* \
+ && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
+ && docker-php-ext-install gd
11
RUN docker-php-ext-install mysqli
12
13
VOLUME /var/www/html
0 commit comments