gentoo-base: Don't try to remove non existing directories.
This commit is contained in:
parent
68d3683eb4
commit
bc78f3241b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue