Browse Source

Config for php gd extension

Kévio Castro 9 năm trước cách đây
mục cha
commit
8fcf235c37
1 tập tin đã thay đổi với 1 bổ sung và 0 xóa
  1. 1 0
      Dockerfile

+ 1 - 0
Dockerfile

@@ -11,6 +11,7 @@ RUN apt-get update && apt-get install -y \
         mysql-client
 
 # 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 mbstring gd