Cleanup pear cache (#1458)

This commit is contained in:
J0WI 2021-03-24 23:07:30 +00:00 committed by GitHub
parent 314dfb4cda
commit b4799f5fc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,7 @@ RUN set -ex; \
redis \
imagick \
; \
rm -r /tmp/pear; \
\
runDeps="$( \
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \

View File

@ -72,6 +72,7 @@ RUN set -ex; \
redis \
imagick \
; \
rm -r /tmp/pear; \
\
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
apt-mark auto '.*' > /dev/null; \