Skip to content

Commit 22fcefb

Browse files
Strubblhnrd
authored andcommitted
docker.apache: update php to 7.4, composer to 1.9.1, fix gd configure flags
w.r.t gd see also docker-library/php#912
1 parent 772cf56 commit 22fcefb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

contrib/docker/Dockerfile.apache

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
FROM php:7.3-apache-buster
1+
FROM php:7.4-apache-buster
22

3-
ARG COMPOSER_VERSION="1.8.5"
4-
ARG COMPOSER_CHECKSUM="4e4c1cd74b54a26618699f3190e6f5fc63bb308b13fa660f71f2a2df047c0e17"
3+
ARG COMPOSER_VERSION="1.9.1"
4+
ARG COMPOSER_CHECKSUM="1f210b9037fcf82670d75892dfc44400f13fe9ada7af9e787f93e50e3b764111"
55

66
RUN apt-get update \
77
&& apt-get install -y --no-install-recommends apt-utils \
@@ -13,10 +13,10 @@ RUN apt-get update \
1313
&& locale-gen && update-locale \
1414
&& docker-php-source extract \
1515
&& docker-php-ext-configure gd \
16-
--enable-freetype \
17-
--with-jpeg-dir=/usr/lib/x86_64-linux-gnu/ \
18-
--with-xpm-dir=/usr/lib/x86_64-linux-gnu/ \
19-
--with-webp-dir=/usr/lib/x86_64-linux-gnu/ \
16+
--with-freetype \
17+
--with-jpeg \
18+
--with-webp \
19+
--with-xpm \
2020
&& docker-php-ext-install pdo_mysql pdo_pgsql pdo_sqlite pcntl gd exif bcmath intl zip curl \
2121
&& pecl install imagick \
2222
&& docker-php-ext-enable imagick pcntl imagick gd exif zip curl \

0 commit comments

Comments
 (0)