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 a337225 commit 05bc550Copy full SHA for 05bc550
docker/Dockerfile
@@ -1,8 +1,15 @@
1
-FROM php:8.0-fpm
+FROM php:8.1-fpm
2
3
ARG WITH_XDEBUG=true
4
5
-RUN docker-php-ext-install mysqli; \
+RUN apt-get update && apt-get install -y \
6
+ libfreetype6-dev \
7
+ libjpeg62-turbo-dev \
8
+ libpng-dev \
9
+ && docker-php-ext-configure gd --with-freetype --with-jpeg \
10
+ && docker-php-ext-install -j$(nproc) gd \
11
+ && docker-php-ext-install mysqli \
12
+ && docker-php-ext-install pdo pdo_mysql; \
13
if [ $WITH_XDEBUG = "true" ] ; then \
14
pecl install xdebug; \
15
fi ;
0 commit comments