Apply minor changes to non 7.4 versions to make deleting lines easier for 7.4

This commit is contained in:
Joe Ferguson 2019-06-14 14:04:15 -07:00
parent d92a953b08
commit a9f19e9df5
34 changed files with 136 additions and 100 deletions

View File

@ -165,9 +165,11 @@ RUN set -xe \
\
&& apk del --no-network .build-deps \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
&& pecl update-channels \
&& rm -rf /tmp/pear ~/.pearrc
&& rm -rf /tmp/pear ~/.pearrc \
# smoke test
&& php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -166,9 +166,11 @@ RUN set -xe \
\
&& apk del --no-network .build-deps \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
&& pecl update-channels \
&& rm -rf /tmp/pear ~/.pearrc
&& rm -rf /tmp/pear ~/.pearrc \
# smoke test
&& php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -166,9 +166,11 @@ RUN set -xe \
\
&& apk del --no-network .build-deps \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
&& pecl update-channels \
&& rm -rf /tmp/pear ~/.pearrc
&& rm -rf /tmp/pear ~/.pearrc \
# smoke test
&& php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -165,9 +165,11 @@ RUN set -xe \
\
&& apk del --no-network .build-deps \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
&& pecl update-channels \
&& rm -rf /tmp/pear ~/.pearrc
&& rm -rf /tmp/pear ~/.pearrc \
# smoke test
&& php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -166,9 +166,11 @@ RUN set -xe \
\
&& apk del --no-network .build-deps \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
&& pecl update-channels \
&& rm -rf /tmp/pear ~/.pearrc
&& rm -rf /tmp/pear ~/.pearrc \
# smoke test
&& php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -166,9 +166,11 @@ RUN set -xe \
\
&& apk del --no-network .build-deps \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
&& pecl update-channels \
&& rm -rf /tmp/pear ~/.pearrc
&& rm -rf /tmp/pear ~/.pearrc \
# smoke test
&& php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -249,11 +249,11 @@ RUN set -eux; \
; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
\
php --version; \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
pecl update-channels; \
rm -rf /tmp/pear ~/.pearrc
rm -rf /tmp/pear ~/.pearrc; \
# smoke test
php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -189,11 +189,11 @@ RUN set -eux; \
; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
\
php --version; \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
pecl update-channels; \
rm -rf /tmp/pear ~/.pearrc
rm -rf /tmp/pear ~/.pearrc; \
# smoke test
php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -190,11 +190,11 @@ RUN set -eux; \
; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
\
php --version; \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
pecl update-channels; \
rm -rf /tmp/pear ~/.pearrc
rm -rf /tmp/pear ~/.pearrc; \
# smoke test
php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -190,11 +190,11 @@ RUN set -eux; \
; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
\
php --version; \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
pecl update-channels; \
rm -rf /tmp/pear ~/.pearrc
rm -rf /tmp/pear ~/.pearrc; \
# smoke test
php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -249,11 +249,11 @@ RUN set -eux; \
; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
\
php --version; \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
pecl update-channels; \
rm -rf /tmp/pear ~/.pearrc
rm -rf /tmp/pear ~/.pearrc; \
# smoke test
php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -189,11 +189,11 @@ RUN set -eux; \
; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
\
php --version; \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
pecl update-channels; \
rm -rf /tmp/pear ~/.pearrc
rm -rf /tmp/pear ~/.pearrc; \
# smoke test
php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -190,11 +190,11 @@ RUN set -eux; \
; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
\
php --version; \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
pecl update-channels; \
rm -rf /tmp/pear ~/.pearrc
rm -rf /tmp/pear ~/.pearrc; \
# smoke test
php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -190,11 +190,11 @@ RUN set -eux; \
; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
\
php --version; \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
pecl update-channels; \
rm -rf /tmp/pear ~/.pearrc
rm -rf /tmp/pear ~/.pearrc; \
# smoke test
php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -171,9 +171,11 @@ RUN set -xe \
\
&& apk del --no-network .build-deps \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
&& pecl update-channels \
&& rm -rf /tmp/pear ~/.pearrc
&& rm -rf /tmp/pear ~/.pearrc \
# smoke test
&& php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -172,9 +172,11 @@ RUN set -xe \
\
&& apk del --no-network .build-deps \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
&& pecl update-channels \
&& rm -rf /tmp/pear ~/.pearrc
&& rm -rf /tmp/pear ~/.pearrc \
# smoke test
&& php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -172,9 +172,11 @@ RUN set -xe \
\
&& apk del --no-network .build-deps \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
&& pecl update-channels \
&& rm -rf /tmp/pear ~/.pearrc
&& rm -rf /tmp/pear ~/.pearrc \
# smoke test
&& php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -171,9 +171,11 @@ RUN set -xe \
\
&& apk del --no-network .build-deps \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
&& pecl update-channels \
&& rm -rf /tmp/pear ~/.pearrc
&& rm -rf /tmp/pear ~/.pearrc \
# smoke test
&& php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -172,9 +172,11 @@ RUN set -xe \
\
&& apk del --no-network .build-deps \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
&& pecl update-channels \
&& rm -rf /tmp/pear ~/.pearrc
&& rm -rf /tmp/pear ~/.pearrc \
# smoke test
&& php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -172,9 +172,11 @@ RUN set -xe \
\
&& apk del --no-network .build-deps \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
&& pecl update-channels \
&& rm -rf /tmp/pear ~/.pearrc
&& rm -rf /tmp/pear ~/.pearrc \
# smoke test
&& php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -268,11 +268,11 @@ RUN set -eux; \
; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
\
php --version; \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
pecl update-channels; \
rm -rf /tmp/pear ~/.pearrc
rm -rf /tmp/pear ~/.pearrc; \
# smoke test
php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -208,11 +208,11 @@ RUN set -eux; \
; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
\
php --version; \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
pecl update-channels; \
rm -rf /tmp/pear ~/.pearrc
rm -rf /tmp/pear ~/.pearrc; \
# smoke test
php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -209,11 +209,11 @@ RUN set -eux; \
; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
\
php --version; \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
pecl update-channels; \
rm -rf /tmp/pear ~/.pearrc
rm -rf /tmp/pear ~/.pearrc; \
# smoke test
php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -209,11 +209,11 @@ RUN set -eux; \
; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
\
php --version; \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
pecl update-channels; \
rm -rf /tmp/pear ~/.pearrc
rm -rf /tmp/pear ~/.pearrc; \
# smoke test
php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -171,9 +171,11 @@ RUN set -xe \
\
&& apk del --no-network .build-deps \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
&& pecl update-channels \
&& rm -rf /tmp/pear ~/.pearrc
&& rm -rf /tmp/pear ~/.pearrc \
# smoke test
&& php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -172,9 +172,11 @@ RUN set -xe \
\
&& apk del --no-network .build-deps \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
&& pecl update-channels \
&& rm -rf /tmp/pear ~/.pearrc
&& rm -rf /tmp/pear ~/.pearrc \
# smoke test
&& php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -172,9 +172,11 @@ RUN set -xe \
\
&& apk del --no-network .build-deps \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
&& pecl update-channels \
&& rm -rf /tmp/pear ~/.pearrc
&& rm -rf /tmp/pear ~/.pearrc \
# smoke test
&& php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -171,9 +171,11 @@ RUN set -xe \
\
&& apk del --no-network .build-deps \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
&& pecl update-channels \
&& rm -rf /tmp/pear ~/.pearrc
&& rm -rf /tmp/pear ~/.pearrc \
# smoke test
&& php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -172,9 +172,11 @@ RUN set -xe \
\
&& apk del --no-network .build-deps \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
&& pecl update-channels \
&& rm -rf /tmp/pear ~/.pearrc
&& rm -rf /tmp/pear ~/.pearrc \
# smoke test
&& php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -172,9 +172,11 @@ RUN set -xe \
\
&& apk del --no-network .build-deps \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
&& pecl update-channels \
&& rm -rf /tmp/pear ~/.pearrc
&& rm -rf /tmp/pear ~/.pearrc \
# smoke test
&& php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -268,11 +268,11 @@ RUN set -eux; \
; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
\
php --version; \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
pecl update-channels; \
rm -rf /tmp/pear ~/.pearrc
rm -rf /tmp/pear ~/.pearrc; \
# smoke test
php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -208,11 +208,11 @@ RUN set -eux; \
; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
\
php --version; \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
pecl update-channels; \
rm -rf /tmp/pear ~/.pearrc
rm -rf /tmp/pear ~/.pearrc; \
# smoke test
php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -209,11 +209,11 @@ RUN set -eux; \
; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
\
php --version; \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
pecl update-channels; \
rm -rf /tmp/pear ~/.pearrc
rm -rf /tmp/pear ~/.pearrc; \
# smoke test
php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/

View File

@ -209,11 +209,11 @@ RUN set -eux; \
; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
\
php --version; \
\
# https://github.com/docker-library/php/issues/443
# update pecl channel definitions https://github.com/docker-library/php/issues/443
pecl update-channels; \
rm -rf /tmp/pear ~/.pearrc
rm -rf /tmp/pear ~/.pearrc; \
# smoke test
php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/