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 \
|
zip \
|
||||||
zstd \
|
zstd \
|
||||||
; \
|
; \
|
||||||
apt-clean.sh
|
apt-clean.sh ; \
|
||||||
|
jdupes -1LSpr /usr/
|
||||||
|
|
||||||
## adjust permissions/ownership
|
## adjust permissions/ownership
|
||||||
RUN d='/etc/angie' ; \
|
RUN d='/etc/angie' ; \
|
||||||
|
@ -54,6 +54,7 @@ RUN apt-env.sh apt-get update ; \
|
|||||||
apt-env.sh apt-get upgrade -y ; \
|
apt-env.sh apt-get upgrade -y ; \
|
||||||
apt-install.sh \
|
apt-install.sh \
|
||||||
cron \
|
cron \
|
||||||
|
jdupes \
|
||||||
logrotate \
|
logrotate \
|
||||||
netbase \
|
netbase \
|
||||||
openssl \
|
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 ; \
|
RUN find /usr/local/sbin/ ! -type d -ls -delete ; \
|
||||||
find /run/ -mindepth 1 -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
|
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