From 20d440bfd8cd4b49648b059ce0753fc8aa8edb73 Mon Sep 17 00:00:00 2001 From: surtur Date: Mon, 2 Mar 2020 00:03:43 +0100 Subject: [PATCH] only download and reinstall what is not present --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 41e90ee..21f740a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/*