Browse Source

Mettre à jour 'bin/webserver/Dockerfile'

pascal.pp 3 years ago
parent
commit
01b6ecbc8b
1 changed files with 6 additions and 3 deletions
  1. 6
    3
      bin/webserver/Dockerfile

+ 6
- 3
bin/webserver/Dockerfile View File

@@ -45,9 +45,12 @@ RUN docker-php-ext-install gettext
45 45
 
46 46
 RUN docker-php-ext-install bcmath
47 47
 
48
-RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng-dev
49
-RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/freetype2/ --with-jpeg-dir=/usr/include/ 
50
-RUN docker-php-ext-install -j$(nproc) gd
48
+RUN apt-get install -y libwebp-dev libjpeg62-turbo-dev libpng-dev libxpm-dev libfreetype6-dev
49
+docker-php-ext-configure gd --with-gd --with-webp-dir --with-jpeg-dir \
50
+    --with-png-dir --with-zlib-dir --with-xpm-dir --with-freetype-dir \
51
+    --enable-gd-native-ttf
52
+RUN docker-php-ext-install gd
53
+#RUN docker-php-ext-install -j$(nproc) gd
51 54
 
52 55
 # Enable apache modules
53 56
 RUN a2enmod rewrite headers

Loading…
Cancel
Save