From 2a62efb044edceb3f899f40947f135c8832af0bd Mon Sep 17 00:00:00 2001 From: surtur Date: Sat, 20 Feb 2021 13:40:40 +0100 Subject: [PATCH] chore: separate pacman commands each in their RUN --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c5c9b35..87de659 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,8 +9,8 @@ LABEL org.label-schema.build-date=$BUILD_DATE \ org.label-schema.license=GPL-3.0 WORKDIR /tmp/ -RUN pacman -Syu --noconfirm --ignore glibc --needed gcc cmake make git valgrind \ - && pacman --noconfirm -R $(pacman -Qdtq) || true +RUN pacman -Syu --noconfirm --ignore glibc --needed gcc cmake make git valgrind +RUN 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/*; \