gentoo-base: Dont't try to remove nonexistent directories.
This commit is contained in:
parent
973f38a366
commit
526b2a2988
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user