Skip to content
Permalink
Browse files

Fix dockerfile

  • Loading branch information...
carakas committed Sep 5, 2019
1 parent 2e9b089 commit 2c6ec834196f89c6b0f3af6f58ceef63747c2183
Showing with 3 additions and 1 deletion.
  1. +3 −1 Dockerfile
@@ -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 && \

0 comments on commit 2c6ec83

Please sign in to comment.
You can’t perform that action at this time.