Skip to content

Commit

Permalink
feat: add patch to base cli and fpm images (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
MateusDadalto committed Aug 16, 2022
1 parent 60f2d58 commit a77b64a
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 12 deletions.
3 changes: 2 additions & 1 deletion php/7.2/cli-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ RUN apk add --no-cache \
libsodium-dev \
mysql-client \
procps \
zip
zip \
patch

# https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html#required-php-extensions
# This layer must be run as one, not two - See: https://github.com/docker-library/php/issues/855
Expand Down
2 changes: 1 addition & 1 deletion php/7.2/fpm-alpine-dolphin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \
&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz

RUN apk add --no-cache \
openssh patch gnupg git pcre-dev ${PHPIZE_DEPS} \
openssh gnupg git pcre-dev ${PHPIZE_DEPS} \
&& pecl install xdebug-2.9.8 \
&& docker-php-ext-enable xdebug \
&& apk del pcre-dev ${PHPIZE_DEPS}
Expand Down
3 changes: 2 additions & 1 deletion php/7.2/fpm-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ RUN apk add --no-cache \
libsodium-dev \
mysql-client \
procps \
zip
zip \
patch

# https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html#required-php-extensions
# This layer must be run as one, not two - See: https://github.com/docker-library/php/issues/855
Expand Down
3 changes: 2 additions & 1 deletion php/7.3/cli-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ RUN apk add --no-cache \
libsodium-dev \
libzip-dev \
mysql-client \
procps
procps \
patch

# https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html#required-php-extensions
# This layer must be run as one, not two - See: https://github.com/docker-library/php/issues/855
Expand Down
2 changes: 1 addition & 1 deletion php/7.3/fpm-alpine-dolphin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \
&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz

RUN apk add --no-cache \
openssh patch gnupg git pcre-dev ${PHPIZE_DEPS} \
openssh gnupg git pcre-dev ${PHPIZE_DEPS} \
&& pecl install xdebug \
&& docker-php-ext-enable xdebug \
&& apk del pcre-dev ${PHPIZE_DEPS}
Expand Down
3 changes: 2 additions & 1 deletion php/7.3/fpm-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ RUN apk add --no-cache \
libsodium-dev \
libzip-dev \
mysql-client \
procps
procps \
patch

# https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html#required-php-extensions
# This layer must be run as one, not two - See: https://github.com/docker-library/php/issues/855
Expand Down
3 changes: 2 additions & 1 deletion php/7.4/cli-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ RUN apk add --no-cache \
libzip-dev \
libsodium-dev \
mysql-client \
procps
procps \
patch

# https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html#required-php-extensions
# This layer must be run as one, not two - See: https://github.com/docker-library/php/issues/855
Expand Down
2 changes: 1 addition & 1 deletion php/7.4/fpm-alpine-dolphin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \
&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz

RUN apk add --no-cache \
openssh patch gnupg git pcre-dev ${PHPIZE_DEPS} \
openssh gnupg git pcre-dev ${PHPIZE_DEPS} \
&& pecl install xdebug \
&& docker-php-ext-enable xdebug \
&& apk del pcre-dev ${PHPIZE_DEPS}
Expand Down
3 changes: 2 additions & 1 deletion php/7.4/fpm-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ RUN apk add --no-cache \
libzip-dev \
libsodium-dev \
mysql-client \
procps
procps \
patch

# https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html#required-php-extensions
# This layer must be run as one, not two - See: https://github.com/docker-library/php/issues/855
Expand Down
3 changes: 2 additions & 1 deletion php/8.1/cli-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ RUN apk add --no-cache \
libzip-dev \
libsodium-dev \
mysql-client \
procps
procps \
patch

# https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html#required-php-extensions
# This layer must be run as one, not two - See: https://github.com/docker-library/php/issues/855
Expand Down
2 changes: 1 addition & 1 deletion php/8.1/fpm-alpine-dolphin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \
&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz

RUN apk add --no-cache \
openssh patch gnupg git pcre-dev ${PHPIZE_DEPS} \
openssh gnupg git pcre-dev ${PHPIZE_DEPS} \
&& pecl install xdebug \
&& docker-php-ext-enable xdebug \
&& apk del pcre-dev ${PHPIZE_DEPS}
Expand Down
3 changes: 2 additions & 1 deletion php/8.1/fpm-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ RUN apk add --no-cache \
libzip-dev \
libsodium-dev \
mysql-client \
procps
procps \
patch

# https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html#required-php-extensions
# This layer must be run as one, not two - See: https://github.com/docker-library/php/issues/855
Expand Down

0 comments on commit a77b64a

Please sign in to comment.