Skip to content

Commit a9f19e9

Browse files
committed
Apply minor changes to non 7.4 versions to make deleting lines easier for 7.4
1 parent d92a953 commit a9f19e9

File tree

34 files changed

+136
-100
lines changed

34 files changed

+136
-100
lines changed

7.1/alpine3.8/cli/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,11 @@ RUN set -xe \
165165
\
166166
&& apk del --no-network .build-deps \
167167
\
168-
# https://github.com/docker-library/php/issues/443
168+
# update pecl channel definitions https://github.com/docker-library/php/issues/443
169169
&& pecl update-channels \
170-
&& rm -rf /tmp/pear ~/.pearrc
170+
&& rm -rf /tmp/pear ~/.pearrc \
171+
# smoke test
172+
&& php --version
171173

172174
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
173175

7.1/alpine3.8/fpm/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,11 @@ RUN set -xe \
166166
\
167167
&& apk del --no-network .build-deps \
168168
\
169-
# https://github.com/docker-library/php/issues/443
169+
# update pecl channel definitions https://github.com/docker-library/php/issues/443
170170
&& pecl update-channels \
171-
&& rm -rf /tmp/pear ~/.pearrc
171+
&& rm -rf /tmp/pear ~/.pearrc \
172+
# smoke test
173+
&& php --version
172174

173175
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
174176

7.1/alpine3.8/zts/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,11 @@ RUN set -xe \
166166
\
167167
&& apk del --no-network .build-deps \
168168
\
169-
# https://github.com/docker-library/php/issues/443
169+
# update pecl channel definitions https://github.com/docker-library/php/issues/443
170170
&& pecl update-channels \
171-
&& rm -rf /tmp/pear ~/.pearrc
171+
&& rm -rf /tmp/pear ~/.pearrc \
172+
# smoke test
173+
&& php --version
172174

173175
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
174176

7.1/alpine3.9/cli/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,11 @@ RUN set -xe \
165165
\
166166
&& apk del --no-network .build-deps \
167167
\
168-
# https://github.com/docker-library/php/issues/443
168+
# update pecl channel definitions https://github.com/docker-library/php/issues/443
169169
&& pecl update-channels \
170-
&& rm -rf /tmp/pear ~/.pearrc
170+
&& rm -rf /tmp/pear ~/.pearrc \
171+
# smoke test
172+
&& php --version
171173

172174
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
173175

7.1/alpine3.9/fpm/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,11 @@ RUN set -xe \
166166
\
167167
&& apk del --no-network .build-deps \
168168
\
169-
# https://github.com/docker-library/php/issues/443
169+
# update pecl channel definitions https://github.com/docker-library/php/issues/443
170170
&& pecl update-channels \
171-
&& rm -rf /tmp/pear ~/.pearrc
171+
&& rm -rf /tmp/pear ~/.pearrc \
172+
# smoke test
173+
&& php --version
172174

173175
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
174176

7.1/alpine3.9/zts/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,11 @@ RUN set -xe \
166166
\
167167
&& apk del --no-network .build-deps \
168168
\
169-
# https://github.com/docker-library/php/issues/443
169+
# update pecl channel definitions https://github.com/docker-library/php/issues/443
170170
&& pecl update-channels \
171-
&& rm -rf /tmp/pear ~/.pearrc
171+
&& rm -rf /tmp/pear ~/.pearrc \
172+
# smoke test
173+
&& php --version
172174

173175
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
174176

7.1/jessie/apache/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,11 +249,11 @@ RUN set -eux; \
249249
; \
250250
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
251251
\
252-
php --version; \
253-
\
254-
# https://github.com/docker-library/php/issues/443
252+
# update pecl channel definitions https://github.com/docker-library/php/issues/443
255253
pecl update-channels; \
256-
rm -rf /tmp/pear ~/.pearrc
254+
rm -rf /tmp/pear ~/.pearrc; \
255+
# smoke test
256+
php --version
257257

258258
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
259259

7.1/jessie/cli/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,11 @@ RUN set -eux; \
189189
; \
190190
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
191191
\
192-
php --version; \
193-
\
194-
# https://github.com/docker-library/php/issues/443
192+
# update pecl channel definitions https://github.com/docker-library/php/issues/443
195193
pecl update-channels; \
196-
rm -rf /tmp/pear ~/.pearrc
194+
rm -rf /tmp/pear ~/.pearrc; \
195+
# smoke test
196+
php --version
197197

198198
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
199199

7.1/jessie/fpm/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,11 @@ RUN set -eux; \
190190
; \
191191
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
192192
\
193-
php --version; \
194-
\
195-
# https://github.com/docker-library/php/issues/443
193+
# update pecl channel definitions https://github.com/docker-library/php/issues/443
196194
pecl update-channels; \
197-
rm -rf /tmp/pear ~/.pearrc
195+
rm -rf /tmp/pear ~/.pearrc; \
196+
# smoke test
197+
php --version
198198

199199
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
200200

7.1/jessie/zts/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,11 @@ RUN set -eux; \
190190
; \
191191
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
192192
\
193-
php --version; \
194-
\
195-
# https://github.com/docker-library/php/issues/443
193+
# update pecl channel definitions https://github.com/docker-library/php/issues/443
196194
pecl update-channels; \
197-
rm -rf /tmp/pear ~/.pearrc
195+
rm -rf /tmp/pear ~/.pearrc; \
196+
# smoke test
197+
php --version
198198

199199
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
200200

0 commit comments

Comments
 (0)