only download and reinstall what is not present

This commit is contained in:
surtur 2020-03-02 00:03:43 +01:00
parent 5b8f3fab7b
commit 20d440bfd8
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -1,2 +1,2 @@
FROM archlinux
RUN pacman -Syu --noconfirm gcc cmake make git valgrind && pacman -Scc && rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/*
RUN pacman -Syu --noconfirm --needed gcc cmake make git valgrind && pacman -Scc && rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/*