Skip to content

Commit a838a3f

Browse files
author
Miguel Ribeiro
committed
Revert "attempt to fix build"
This reverts commit 37b94e2.
1 parent 37b94e2 commit a838a3f

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@ FROM php:8.2-fpm-alpine
55
WORKDIR /var/www/html
66

77
# 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 && \
1310
docker-php-ext-install pdo pdo_sqlite calendar && \
1411
docker-php-ext-enable pdo pdo_sqlite && \
1512
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp && \
1613
docker-php-ext-install -j$(nproc) gd intl zip && \
14+
apk add --no-cache --virtual .build-deps $PHPIZE_DEPS && \
1715
pecl install imagick && \
1816
docker-php-ext-enable imagick && \
1917
apk del .build-deps
@@ -45,4 +43,3 @@ ARG SOFTWARE_VERSION=1.20.0
4543

4644
# Start both PHP-FPM, Nginx
4745
CMD ["sh", "-c", "/var/www/html/startup.sh"]
48-

0 commit comments

Comments
 (0)