mirror of
https://github.com/danog/php.git
synced 2024-11-27 04:14:56 +01:00
Apply minor changes to non 7.4 versions to make deleting lines easier for 7.4
This commit is contained in:
parent
d92a953b08
commit
a9f19e9df5
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user