File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change 1- FROM php:7.4-fpm-alpine
1+ FROM php:7.4-fpm-alpine3.13
22
33RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
44
55RUN apk update
66
7- RUN apk add --update libzip-dev libmcrypt-dev libpng-dev libjpeg-turbo-dev libxml2-dev icu-dev curl-dev
8-
9- RUN apk add --update --virtual build-dependencies build-base gcc wget autoconf
10-
117RUN set -x \
12- && apk add --no-cache git \
8+ && apk add git \
139 libxml2-dev \
14- openssl -dev \
10+ libressl -dev \
1511 oniguruma-dev \
1612 bzip2-dev \
1713 nginx \
@@ -24,13 +20,13 @@ RUN set -x \
2420 imagemagick \
2521 imagemagick-libs \
2622 imagemagick-dev \
27- postgresql-dev
23+ postgresql-dev \
24+ && ln -sf /dev/stdout /var/log/nginx/access.log \
25+ && ln -sf /dev/stderr /var/log/nginx/error.log
2826
29- RUN touch /var/log/nginx/access.log \
30- && touch /var/log/nginx/error.log
27+ RUN apk add --update libzip-dev libmcrypt-dev libpng-dev libjpeg-turbo-dev libxml2-dev icu-dev curl-dev
3128
32- RUN ln -sf /dev/stdout /var/log/nginx/access.log \
33- && ln -sf /dev/stderr /var/log/nginx/error.log
29+ RUN apk add --update --virtual build-dependencies build-base gcc wget autoconf
3430
3531RUN docker-php-ext-install \
3632 phar \
You can’t perform that action at this time.
0 commit comments