Skip to content

Commit 6942d40

Browse files
author
SigmaConso
committed
Updated Dockerfile to fix issue with php 7.4 image
cf. docker-library/php#912
1 parent 1026109 commit 6942d40

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:apache
1+
FROM php:8.0-apache
22

33
RUN apt-get update && apt-get install -y \
44
libfreetype6-dev \
@@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y \
88
zip \
99
unzip && \
1010
# We install and enable php-gd
11-
docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ &&\
11+
docker-php-ext-configure gd --with-freetype --with-jpeg &&\
1212
docker-php-ext-install -j$(nproc) gd && \
1313
# We enable Apache's mod_rewrite
1414
a2enmod rewrite

0 commit comments

Comments
 (0)