modify gd build configure
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
734dda4048
commit
2a5b2db404
@ -1,7 +1,8 @@
|
|||||||
FROM php:7-fpm-alpine
|
FROM php:7-fpm-alpine
|
||||||
WORKDIR /var/www
|
WORKDIR /var/www
|
||||||
RUN apk add --no-cache libcurl curl-dev libpng libpng-dev icu-dev libzip libzip-dev shadow \
|
RUN apk add --no-cache libcurl curl-dev libpng libpng-dev icu-dev libzip libzip-dev shadow freetype freetype-dev \
|
||||||
&& usermod -u 1000 www-data && groupmod -g 1000 www-data \
|
&& usermod -u 1000 www-data && groupmod -g 1000 www-data \
|
||||||
|
&& docker-php-ext-configure gd --with-freetype \
|
||||||
&& docker-php-ext-install ctype curl gd iconv intl mysqli pdo pdo_mysql zip exif
|
&& docker-php-ext-install ctype curl gd iconv intl mysqli pdo pdo_mysql zip exif
|
||||||
COPY ./php.ini /usr/local/etc/php/
|
COPY ./php.ini /usr/local/etc/php/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user