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; \
51
51
ldd "$extdir"/*.so | grep -qzv "=> not found" || (echo "Sanity check failed: missing libraries:"; ldd "$extdir"/*.so | grep " => not found"; exit 1); \
52
52
ldd "$extdir"/*.so | grep -q "libzip.so.* => .*/libzip.so.*" || (echo "Sanity check failed: libzip.so is not referenced"; ldd "$extdir"/*.so; exit 1); \
53
53
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;);
60
55
61
56
# set recommended PHP.ini settings
62
57
# 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; \
52
52
ldd "$extdir" /*.so | grep -qzv "=> not found" || (echo "Sanity check failed: missing libraries:" ; ldd "$extdir" /*.so | grep " => not found" ; exit 1); \
53
53
ldd "$extdir" /*.so | grep -q "libzip.so.* => .*/libzip.so.*" || (echo "Sanity check failed: libzip.so is not referenced" ; ldd "$extdir" /*.so; exit 1); \
54
54
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;);
61
56
62
57
# set recommended PHP.ini settings
63
58
# 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; \
49
49
ldd "$extdir" /*.so | grep -qzv "=> not found" || (echo "Sanity check failed: missing libraries:" ; ldd "$extdir" /*.so | grep " => not found" ; exit 1); \
50
50
ldd "$extdir" /*.so | grep -q "libzip.so.* => .*/libzip.so.*" || (echo "Sanity check failed: libzip.so is not referenced" ; ldd "$extdir" /*.so; exit 1); \
51
51
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;);
58
53
59
54
# set recommended PHP.ini settings
60
55
# see https://secure.php.net/manual/en/opcache.installation.php
You can’t perform that action at this time.
0 commit comments