loosen the condition chaining a bit
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
2de98985ac
commit
47e1220fd9
14
Dockerfile
14
Dockerfile
|
@ -24,13 +24,9 @@ RUN bsdtar xfv /tmp/hugo.tar.gz && rm -v /tmp/hugo.tar.gz README.md LICENSE \
|
|||
gzip less sysfsutils which \
|
||||
&& pacman --noconfirm -Runs tar gawk || true
|
||||
RUN pacman -Scc && rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* \
|
||||
&& rm -rv /usr/share/info/* \
|
||||
&& rm -rv /usr/share/man/* \
|
||||
&& rm -rv /usr/share/doc/* \
|
||||
&& rm -rv /usr/share/zoneinfo/* \
|
||||
&& rm -rv /usr/share/i18n/* \
|
||||
&& find /. -name "*~" -type f -delete \
|
||||
&& find /usr/share/terminfo/. ! -name "*xterm*" ! -name "*screen*" ! -name "*screen*" -type f -delete \
|
||||
&& rm -rv /tmp/* \
|
||||
&& rm -rv /usr/include/*
|
||||
&& rm -rv /usr/share/info/* ;rm -rv /usr/share/man/* ; \
|
||||
rm -rv /usr/share/doc/* ;rm -rv /usr/share/zoneinfo/* ; \
|
||||
rm -rv /usr/share/i18n/* ;rm -rv /usr/include/* ; \ find /. -name "*~" -type f -delete; \
|
||||
find /usr/share/terminfo/. ! -name "*xterm*" ! -name "*screen*" ! -name "*screen*" -type f -delete; \
|
||||
rm -rv /tmp/*
|
||||
WORKDIR /
|
||||
|
|
Loading…
Reference in New Issue