Skip to content

Commit

Permalink
Updated Dockerfile to fix issue with php 7.4 image
Browse files Browse the repository at this point in the history
  • Loading branch information
SigmaConso committed Mar 1, 2023
1 parent 15d4a01 commit 650fb57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:apache
FROM php:8.0-apache

RUN apt-get update && apt-get install -y \
libfreetype6-dev \
Expand All @@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y \
zip \
unzip && \
# We install and enable php-gd
docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ &&\
docker-php-ext-configure gd --with-freetype --with-jpeg &&\
docker-php-ext-install -j$(nproc) gd && \
# We enable Apache's mod_rewrite
a2enmod rewrite
Expand Down

0 comments on commit 650fb57

Please sign in to comment.