File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,15 @@ FROM php:8.2-fpm-alpine
5
5
WORKDIR /var/www/html
6
6
7
7
# Update packages and install dependencies
8
- RUN apk upgrade --no-cache && \
9
- apk add --no-cache shadow sqlite-dev libpng libpng-dev libjpeg-turbo libjpeg-turbo-dev freetype freetype-dev curl autoconf libgomp icu-dev icu-data-full nginx dcron tzdata imagemagick imagemagick-dev libzip-dev sqlite libwebp-dev && \
8
+ RUN apk update && apk upgrade --no-cache && \
9
+ apk add --no-cache shadow sqlite-dev libpng libpng-dev libjpeg-turbo libjpeg-turbo-dev freetype freetype-dev \
10
+ curl autoconf libgomp icu-dev icu-data-full nginx dcron tzdata imagemagick imagemagick-dev libzip-dev \
11
+ sqlite libwebp-dev zlib-dev && \
12
+ apk add --no-cache --virtual .build-deps build-base $PHPIZE_DEPS && \
10
13
docker-php-ext-install pdo pdo_sqlite calendar && \
11
14
docker-php-ext-enable pdo pdo_sqlite && \
12
15
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp && \
13
16
docker-php-ext-install -j$(nproc) gd intl zip && \
14
- apk add --no-cache --virtual .build-deps $PHPIZE_DEPS && \
15
17
pecl install imagick && \
16
18
docker-php-ext-enable imagick && \
17
19
apk del .build-deps
@@ -43,3 +45,4 @@ ARG SOFTWARE_VERSION=1.20.0
43
45
44
46
# Start both PHP-FPM, Nginx
45
47
CMD ["sh" , "-c" , "/var/www/html/startup.sh" ]
48
+
You can’t perform that action at this time.
0 commit comments