From 526b2a298828a9d3d50b644ae2b5586bb2f1c04f Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 3 May 2020 04:20:57 +0200 Subject: [PATCH] gentoo-base: Dont't try to remove nonexistent directories. --- gentoo-base.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gentoo-base.Dockerfile b/gentoo-base.Dockerfile index a9cba45..327bce0 100644 --- a/gentoo-base.Dockerfile +++ b/gentoo-base.Dockerfile @@ -16,7 +16,7 @@ RUN eselect profile set default/linux/amd64/17.1 RUN quickpkg --include-config=y @world sys-libs/glibc RUN emerge --root=/workdir --buildpkg=y --usepkg --quiet sys-apps/portage RUN cp /etc/portage/make.conf /workdir/etc/portage/make.conf -RUN rm -r /workdir/usr/share/{doc,i18n,locale,man,zoneinfo} +RUN rm -r /workdir/usr/share/{i18n,locale,zoneinfo} # Final image. FROM scratch