We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1026109 commit 6942d40Copy full SHA for 6942d40
Dockerfile
@@ -1,4 +1,4 @@
1
-FROM php:apache
+FROM php:8.0-apache
2
3
RUN apt-get update && apt-get install -y \
4
libfreetype6-dev \
@@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y \
8
zip \
9
unzip && \
10
# We install and enable php-gd
11
- docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ &&\
+ docker-php-ext-configure gd --with-freetype --with-jpeg &&\
12
docker-php-ext-install -j$(nproc) gd && \
13
# We enable Apache's mod_rewrite
14
a2enmod rewrite
0 commit comments