1 頁 (共 1 頁)

php 7.0 fpm gd with freetype

發表於 : 2017-11-02 15:18:03
yehlu
https://github.com/docker-library/docs/tree/master/php

代碼: 選擇全部

FROM php:7.0-fpm
RUN apt-get update && apt-get install -y \
		libfreetype6-dev \
		libjpeg62-turbo-dev \
		libmcrypt-dev \
		libpng-dev \
	&& docker-php-ext-install -j$(nproc) iconv mcrypt \
	&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
	&& docker-php-ext-install -j$(nproc) gd