image: use jdupes
deduplicate data if possible
This commit is contained in:
parent
ff3564b0db
commit
9ff0ff517d
@ -196,7 +196,8 @@ RUN apt-install-angie-mod.sh \
|
||||
zip \
|
||||
zstd \
|
||||
; \
|
||||
apt-clean.sh
|
||||
apt-clean.sh ; \
|
||||
jdupes -1LSpr /usr/
|
||||
|
||||
## adjust permissions/ownership
|
||||
RUN d='/etc/angie' ; \
|
||||
|
@ -54,6 +54,7 @@ RUN apt-env.sh apt-get update ; \
|
||||
apt-env.sh apt-get upgrade -y ; \
|
||||
apt-install.sh \
|
||||
cron \
|
||||
jdupes \
|
||||
logrotate \
|
||||
netbase \
|
||||
openssl \
|
||||
@ -242,7 +243,8 @@ RUN certifi_pem="${PYTHON_SITE_PACKAGES}/pip/_vendor/certifi/cacert.pem" ; \
|
||||
|
||||
RUN find /usr/local/sbin/ ! -type d -ls -delete ; \
|
||||
find /run/ -mindepth 1 -ls -delete || : ; \
|
||||
install -d -m 01777 /run/lock
|
||||
install -d -m 01777 /run/lock ; \
|
||||
jdupes -1LSpr /usr/
|
||||
|
||||
## ---
|
||||
|
||||
|
@ -86,4 +86,5 @@ RUN apt-install.sh \
|
||||
; \
|
||||
apt-clean.sh
|
||||
|
||||
RUN find /usr/local/sbin/ ! -type d -ls -delete
|
||||
RUN find /usr/local/sbin/ ! -type d -ls -delete ; \
|
||||
jdupes -1LSpr /usr/
|
||||
|
Loading…
Reference in New Issue
Block a user