Przeglądaj źródła

Config for php gd extension

Kévio Castro 9 lat temu
rodzic
commit
8fcf235c37
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      Dockerfile

+ 1 - 0
Dockerfile

@@ -11,6 +11,7 @@ RUN apt-get update && apt-get install -y \
         mysql-client
         mysql-client
 
 
 # Elgg requirements
 # Elgg requirements
+RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
 RUN docker-php-ext-install pdo pdo_mysql mysql
 RUN docker-php-ext-install pdo pdo_mysql mysql
 RUN docker-php-ext-install mbstring gd
 RUN docker-php-ext-install mbstring gd