mirror of
https://github.com/nextcloud/docker.git
synced 2025-02-03 10:08:26 +01:00
Cleanup pear cache (#1458)
This commit is contained in:
parent
314dfb4cda
commit
b4799f5fc5
2 changed files with 2 additions and 0 deletions
|
@ -62,6 +62,7 @@ RUN set -ex; \
|
||||||
redis \
|
redis \
|
||||||
imagick \
|
imagick \
|
||||||
; \
|
; \
|
||||||
|
rm -r /tmp/pear; \
|
||||||
\
|
\
|
||||||
runDeps="$( \
|
runDeps="$( \
|
||||||
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
|
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
|
||||||
|
|
|
@ -72,6 +72,7 @@ RUN set -ex; \
|
||||||
redis \
|
redis \
|
||||||
imagick \
|
imagick \
|
||||||
; \
|
; \
|
||||||
|
rm -r /tmp/pear; \
|
||||||
\
|
\
|
||||||
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
|
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
|
||||||
apt-mark auto '.*' > /dev/null; \
|
apt-mark auto '.*' > /dev/null; \
|
||||||
|
|
Loading…
Reference in a new issue