Remove python tests.
This commit is contained in:
parent
c369747160
commit
c93a3ee3b8
|
@ -20,6 +20,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
|
||||
|
||||
# Final image.
|
||||
FROM scratch
|
||||
|
|
|
@ -31,6 +31,7 @@ RUN emerge --root=/workdir --rage-clean --quiet \
|
|||
RUN rm -r /workdir/usr/share/gtk-doc
|
||||
RUN rm -r /workdir/usr/include
|
||||
RUN rm -r /workdir/var/db/pkg
|
||||
RUN rm -r /workdir/usr/lib64/python*/{unit,}test
|
||||
|
||||
# Final image.
|
||||
FROM gentoo/portage:latest
|
||||
|
|
|
@ -31,6 +31,7 @@ RUN emerge --root=/workdir --rage-clean --quiet \
|
|||
RUN rm -r /workdir/usr/share/gtk-doc
|
||||
RUN rm -r /workdir/usr/include
|
||||
RUN rm -r /workdir/var/db/pkg
|
||||
RUN rm -r /workdir/usr/lib64/python*/{unit,}test
|
||||
|
||||
# Final image.
|
||||
FROM gentoo/portage:latest
|
||||
|
|
Loading…
Reference in New Issue
Block a user