From bc78f3241beef28c928b96477022b4af9a1c4226 Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 7 Jul 2020 18:48:31 +0200 Subject: [PATCH] gentoo-base: Don't try to remove non existing directories. --- gentoo-base.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gentoo-base.Dockerfile b/gentoo-base.Dockerfile index 278d57e..a96e529 100644 --- a/gentoo-base.Dockerfile +++ b/gentoo-base.Dockerfile @@ -21,7 +21,7 @@ RUN emerge --root=/workdir --buildpkg=y --usepkg --quiet sys-apps/portage RUN emerge --root=/workdir --buildpkg=y --usepkg --quiet \ sys-apps/grep sys-apps/gawk app-arch/gzip RUN cp /etc/portage/make.conf /workdir/etc/portage/make.conf -RUN rm -r /workdir/usr/lib64/python*/{unit,}test +RUN rm -r /workdir/usr/lib/python*/{unit,}test # Final image. FROM scratch