gentoo-base: small optimisations
This commit is contained in:
parent
36a86d96e6
commit
9ce4627a23
|
@ -18,11 +18,10 @@ RUN eselect profile set default/linux/amd64/17.1/no-multilib
|
||||||
RUN quickpkg --include-config=y @world sys-libs/glibc
|
RUN quickpkg --include-config=y @world sys-libs/glibc
|
||||||
RUN emerge --root=/workdir --buildpkg=y --usepkg --quiet sys-apps/portage
|
RUN emerge --root=/workdir --buildpkg=y --usepkg --quiet sys-apps/portage
|
||||||
# Needed for locale generation.
|
# Needed for locale generation.
|
||||||
RUN emerge --root=/workdir --buildpkg=y --usepkg --quiet \
|
RUN emerge --root=/workdir --buildpkg=y --usepkg --quiet --noreplace \
|
||||||
sys-apps/grep sys-apps/gawk app-arch/gzip sys-devel/gcc
|
sys-apps/grep sys-apps/gawk app-arch/gzip sys-devel/gcc
|
||||||
RUN mkdir -p /workdir/etc/portage \
|
RUN mkdir -p /workdir/etc/portage/repos.conf \
|
||||||
&& cp /etc/portage/make.conf /workdir/etc/portage/make.conf
|
&& cp /etc/portage/make.conf /workdir/etc/portage/make.conf \
|
||||||
RUN mkdir /workdir/etc/portage/repos.conf \
|
|
||||||
&& echo -e '[gentoo]\nlocation = /var/db/repos/gentoo' \
|
&& echo -e '[gentoo]\nlocation = /var/db/repos/gentoo' \
|
||||||
> /workdir/etc/portage/repos.conf/gentoo.conf
|
> /workdir/etc/portage/repos.conf/gentoo.conf
|
||||||
RUN rm -r /workdir/usr/lib/python*/{unit,}test
|
RUN rm -r /workdir/usr/lib/python*/{unit,}test
|
||||||
|
|
Loading…
Reference in New Issue
Block a user