File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,13 @@ FROM php:8.2-fpm-alpine
5
5
WORKDIR /var/www/html
6
6
7
7
# Update packages and install dependencies
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 && \
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 && \
13
10
docker-php-ext-install pdo pdo_sqlite calendar && \
14
11
docker-php-ext-enable pdo pdo_sqlite && \
15
12
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp && \
16
13
docker-php-ext-install -j$(nproc) gd intl zip && \
14
+ apk add --no-cache --virtual .build-deps $PHPIZE_DEPS && \
17
15
pecl install imagick && \
18
16
docker-php-ext-enable imagick && \
19
17
apk del .build-deps
@@ -45,4 +43,3 @@ ARG SOFTWARE_VERSION=1.20.0
45
43
46
44
# Start both PHP-FPM, Nginx
47
45
CMD ["sh" , "-c" , "/var/www/html/startup.sh" ]
48
-
You can’t perform that action at this time.
0 commit comments