File tree Expand file tree Collapse file tree 3 files changed +3
-18
lines changed Expand file tree Collapse file tree 3 files changed +3
-18
lines changed Original file line number Diff line number Diff line change @@ -51,12 +51,7 @@ RUN set -ex; \
5151 ldd "$extdir"/*.so | grep -qzv "=> not found" || (echo "Sanity check failed: missing libraries:"; ldd "$extdir"/*.so | grep " => not found"; exit 1); \
5252 ldd "$extdir"/*.so | grep -q "libzip.so.* => .*/libzip.so.*" || (echo "Sanity check failed: libzip.so is not referenced"; ldd "$extdir"/*.so; exit 1); \
5353 err="$(php --version 3>&1 1>&2 2>&3)"; \
54- [ -z "$err" ] || (echo "Sanity check failed: php returned errors; $err"; exit 1;); \
55- \
56- apt-mark auto '.*' > /dev/null; \
57- apt-mark manual $savedAptMark; \
58- apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
59- rm -rf /var/lib/apt/lists/*
54+ [ -z "$err" ] || (echo "Sanity check failed: php returned errors; $err"; exit 1;);
6055
6156# set recommended PHP.ini settings
6257# see https://secure.php.net/manual/en/opcache.installation.php
Original file line number Diff line number Diff line change @@ -52,12 +52,7 @@ RUN set -ex; \
5252 ldd "$extdir" /*.so | grep -qzv "=> not found" || (echo "Sanity check failed: missing libraries:" ; ldd "$extdir" /*.so | grep " => not found" ; exit 1); \
5353 ldd "$extdir" /*.so | grep -q "libzip.so.* => .*/libzip.so.*" || (echo "Sanity check failed: libzip.so is not referenced" ; ldd "$extdir" /*.so; exit 1); \
5454 err="$(php --version 3>&1 1>&2 2>&3)" ; \
55- [ -z "$err" ] || (echo "Sanity check failed: php returned errors; $err" ; exit 1;); \
56- \
57- apt-mark auto '.*' > /dev/null; \
58- apt-mark manual $savedAptMark; \
59- apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
60- rm -rf /var/lib/apt/lists/*
55+ [ -z "$err" ] || (echo "Sanity check failed: php returned errors; $err" ; exit 1;);
6156
6257# set recommended PHP.ini settings
6358# see https://secure.php.net/manual/en/opcache.installation.php
Original file line number Diff line number Diff line change @@ -49,12 +49,7 @@ RUN set -ex; \
4949 ldd "$extdir" /*.so | grep -qzv "=> not found" || (echo "Sanity check failed: missing libraries:" ; ldd "$extdir" /*.so | grep " => not found" ; exit 1); \
5050 ldd "$extdir" /*.so | grep -q "libzip.so.* => .*/libzip.so.*" || (echo "Sanity check failed: libzip.so is not referenced" ; ldd "$extdir" /*.so; exit 1); \
5151 err="$(php --version 3>&1 1>&2 2>&3)" ; \
52- [ -z "$err" ] || (echo "Sanity check failed: php returned errors; $err" ; exit 1;); \
53- \
54- apt-mark auto '.*' > /dev/null; \
55- apt-mark manual $savedAptMark; \
56- apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
57- rm -rf /var/lib/apt/lists/*
52+ [ -z "$err" ] || (echo "Sanity check failed: php returned errors; $err" ; exit 1;);
5853
5954# set recommended PHP.ini settings
6055# see https://secure.php.net/manual/en/opcache.installation.php
You can’t perform that action at this time.
0 commit comments