mirror of
https://github.com/mlocati/docker-php-extension-installer
synced 2025-05-08 16:17:20 +00:00
The --cleanup
option also uses an apt autoremove
command.
This commit is contained in:
parent
28481a5161
commit
2ac6d4aa78
2 changed files with 13 additions and 8 deletions
|
@ -574,6 +574,11 @@ then
|
|||
fi
|
||||
fi
|
||||
done
|
||||
if test -n "${DO_APT_REMOVE}"
|
||||
then
|
||||
printf '### REMOVING NO LONGER REQUIRED PACKAGES ###\n'
|
||||
DEBIAN_FRONTEND=noninteractive apt autoremove -y
|
||||
fi
|
||||
if test -n "${UNNEEDED_APT_PACKAGES}"
|
||||
then
|
||||
printf '### REMOVING UNNEEDED APT PACKAGES ###\n'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue