Skip to content

Commit

Permalink
Fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
carakas committed Sep 5, 2019
1 parent 2e9b089 commit 2c6ec83
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Expand Up @@ -8,9 +8,11 @@ RUN a2enmod rewrite
RUN printf "deb http://archive.debian.org/debian/ jessie main\ndeb-src http://archive.debian.org/debian/ jessie main\ndeb http://security.debian.org jessie/updates main\ndeb-src http://security.debian.org jessie/updates main" > /etc/apt/sources.list

# Install GD2
RUN apt-get update && apt-get install -y --no-install-recommends \
RUN apt-get update && apt-get install -y --no-install-recommends --allow-downgrades \
libfreetype6-dev \
libjpeg62-turbo-dev \
libz-dev \
zlib1g=1:1.2.8.dfsg-2+b1 \
libpng-dev && \
docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && \
docker-php-ext-install -j$(nproc) gd && \
Expand Down

0 comments on commit 2c6ec83

Please sign in to comment.