Skip to content

Commit b8d348a

Browse files
committed
update php version and align gd options
1 parent 935c7ec commit b8d348a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:7.3.8-fpm-alpine3.10
1+
FROM php:7.4.2-fpm-alpine3.10
22

33
ENV PHP_OPCACHE_VALIDATE_TIMESTAMPS="0" \
44
PHP_OPCACHE_MAX_ACCELERATED_FILES="10000" \
@@ -39,7 +39,7 @@ RUN apk info \
3939
xvfb \
4040
chromium@3.9 \
4141
chromium-chromedriver@3.9 \
42-
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-png-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
42+
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
4343
&& docker-php-ext-install -j$(nproc) \
4444
gd \
4545
pdo_mysql \

0 commit comments

Comments
 (0)