chore: rm workdir directives [skip ci]

useless usage
This commit is contained in:
surtur 2021-02-20 13:42:36 +01:00
parent 3db19d71ef
commit 1ddd162007
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -8,7 +8,6 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.vcs-ref=$VCS_REF \ org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.license=GPL-3.0 org.label-schema.license=GPL-3.0
WORKDIR /tmp/
RUN pacman -Syu --noconfirm --ignore glibc --needed gcc cmake make git valgrind RUN pacman -Syu --noconfirm --ignore glibc --needed gcc cmake make git valgrind
RUN pacman --noconfirm -R $(pacman -Qdtq) || true RUN pacman --noconfirm -R $(pacman -Qdtq) || true
RUN pacman -Scc && rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* \ RUN pacman -Scc && rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* \
@ -17,4 +16,3 @@ RUN pacman -Scc && rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* \
find /. -name "*~" -type f -delete; \ find /. -name "*~" -type f -delete; \
find /usr/share/terminfo/. ! -name "*xterm*" ! -name "*screen*" ! -name "*screen*" -type f -delete; \ find /usr/share/terminfo/. ! -name "*xterm*" ! -name "*screen*" ! -name "*screen*" -type f -delete; \
rm -rfv /tmp/* || true rm -rfv /tmp/* || true
WORKDIR /