瀏覽代碼

Config for php gd extension

Kévio Castro 9 年之前
父節點
當前提交
8fcf235c37
共有 1 個文件被更改,包括 1 次插入 和 0 次删除
  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