loosen the condition chain
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2020-04-22 21:20:11 +02:00
parent dd36716c45
commit 1e03d27215
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -12,12 +12,9 @@ WORKDIR /tmp/
RUN pacman -Syu --noconfirm --needed gcc cmake make git valgrind \
&& pacman --noconfirm -R $(pacman -Qdtq) || 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/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/*
WORKDIR /