updated Dockerfile with latest space-saving stuff
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2020-04-22 17:47:08 +02:00
parent 880a37d16b
commit 702e55c197
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -8,6 +8,16 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.license=GPL-3.0
WORKDIR /tmp/
RUN pacman -Syu --noconfirm --needed gcc cmake make git valgrind \
&& pacman -Scc \
&& rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/*
&& pacman --noconfirm -R $(pacman -Qdtq) \
&& 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/* \
WORKDIR /