File tree 1 file changed +6
-9
lines changed
1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change 1
- FROM php:7.4.19 -fpm-alpine
1
+ FROM php:8.0.7 -fpm-alpine
2
2
3
3
ENV PHP_OPCACHE_VALIDATE_TIMESTAMPS="0" \
4
4
PHP_OPCACHE_MAX_ACCELERATED_FILES="10000" \
@@ -24,8 +24,6 @@ RUN apk info \
24
24
nginx \
25
25
zlib-dev \
26
26
icu-dev \
27
- imagemagick \
28
- imagemagick-dev \
29
27
libzip-dev \
30
28
libjpeg-turbo-dev \
31
29
libpng-dev \
@@ -36,9 +34,9 @@ RUN apk info \
36
34
nodejs \
37
35
npm \
38
36
composer \
39
- php7 -tokenizer \
40
- php7 -simplexml \
41
- php7 -dom \
37
+ php8 -tokenizer \
38
+ php8 -simplexml \
39
+ php8 -dom \
42
40
mysql-client \
43
41
mariadb-connector-c \
44
42
yarn@edge \
@@ -55,11 +53,10 @@ RUN apk info \
55
53
iconv \
56
54
&& pecl install \
57
55
redis \
58
- imagick \
59
56
&& docker-php-ext-enable \
60
57
redis \
61
- imagick \
62
- && apk del .build-deps
58
+ && apk del .build-deps \
59
+ && rm -rf /tmp/* /var/cache/apk/*
63
60
64
61
# fix iconv (see https://github.com/docker-library/php/issues/240#issuecomment-305038173)
65
62
RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ gnu-libiconv
You can’t perform that action at this time.
0 commit comments