File tree Expand file tree Collapse file tree 5 files changed +50
-15
lines changed Expand file tree Collapse file tree 5 files changed +50
-15
lines changed Original file line number Diff line number Diff line change 1- FROM php:7.2 -%%VARIANT%%
1+ FROM php:7.4 -%%VARIANT%%
22
33# docker-entrypoint.sh dependencies
44RUN apk add --no-cache \
@@ -14,10 +14,17 @@ RUN set -ex; \
1414 libpng-dev \
1515 libwebp-dev \
1616 libxpm-dev \
17+ libzip-dev \
1718 ; \
1819 \
19- docker-php-ext-configure gd --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr; \
20- docker-php-ext-install bz2 gd mysqli opcache zip; \
20+ docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-xpm; \
21+ docker-php-ext-install -j "$(nproc)" \
22+ bz2 \
23+ gd \
24+ mysqli \
25+ opcache \
26+ zip \
27+ ; \
2128 \
2229 runDeps="$( \
2330 scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
Original file line number Diff line number Diff line change 1- FROM php:7.2 -%%VARIANT%%
1+ FROM php:7.4 -%%VARIANT%%
22
33# Install dependencies
44RUN set -ex; \
@@ -13,10 +13,17 @@ RUN set -ex; \
1313 libpng-dev \
1414 libwebp-dev \
1515 libxpm-dev \
16+ libzip-dev \
1617 ; \
1718 \
18- docker-php-ext-configure gd --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr; \
19- docker-php-ext-install bz2 gd mysqli opcache zip; \
19+ docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-xpm; \
20+ docker-php-ext-install -j "$(nproc)" \
21+ bz2 \
22+ gd \
23+ mysqli \
24+ opcache \
25+ zip \
26+ ; \
2027 \
2128 apt-mark auto '.*' > /dev/null; \
2229 apt-mark manual $savedAptMark; \
Original file line number Diff line number Diff line change 1- FROM php:7.2 -apache
1+ FROM php:7.4 -apache
22
33# Install dependencies
44RUN set -ex; \
@@ -13,10 +13,17 @@ RUN set -ex; \
1313 libpng-dev \
1414 libwebp-dev \
1515 libxpm-dev \
16+ libzip-dev \
1617 ; \
1718 \
18- docker-php-ext-configure gd --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr; \
19- docker-php-ext-install bz2 gd mysqli opcache zip; \
19+ docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-xpm; \
20+ docker-php-ext-install -j "$(nproc)" \
21+ bz2 \
22+ gd \
23+ mysqli \
24+ opcache \
25+ zip \
26+ ; \
2027 \
2128 apt-mark auto '.*' > /dev/null; \
2229 apt-mark manual $savedAptMark; \
Original file line number Diff line number Diff line change 1- FROM php:7.2 -fpm-alpine
1+ FROM php:7.4 -fpm-alpine
22
33# docker-entrypoint.sh dependencies
44RUN apk add --no-cache \
@@ -14,10 +14,17 @@ RUN set -ex; \
1414 libpng-dev \
1515 libwebp-dev \
1616 libxpm-dev \
17+ libzip-dev \
1718 ; \
1819 \
19- docker-php-ext-configure gd --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr; \
20- docker-php-ext-install bz2 gd mysqli opcache zip; \
20+ docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-xpm; \
21+ docker-php-ext-install -j "$(nproc)" \
22+ bz2 \
23+ gd \
24+ mysqli \
25+ opcache \
26+ zip \
27+ ; \
2128 \
2229 runDeps="$( \
2330 scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
Original file line number Diff line number Diff line change 1- FROM php:7.2 -fpm
1+ FROM php:7.4 -fpm
22
33# Install dependencies
44RUN set -ex; \
@@ -13,10 +13,17 @@ RUN set -ex; \
1313 libpng-dev \
1414 libwebp-dev \
1515 libxpm-dev \
16+ libzip-dev \
1617 ; \
1718 \
18- docker-php-ext-configure gd --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr; \
19- docker-php-ext-install bz2 gd mysqli opcache zip; \
19+ docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-xpm; \
20+ docker-php-ext-install -j "$(nproc)" \
21+ bz2 \
22+ gd \
23+ mysqli \
24+ opcache \
25+ zip \
26+ ; \
2027 \
2128 apt-mark auto '.*' > /dev/null; \
2229 apt-mark manual $savedAptMark; \
You can’t perform that action at this time.
0 commit comments