gentoo-base: add repos.conf
This commit is contained in:
parent
e3079141b8
commit
3704277506
|
@ -22,6 +22,9 @@ RUN emerge --root=/workdir --buildpkg=y --usepkg --quiet \
|
||||||
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 \
|
||||||
&& 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' \
|
||||||
|
> /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
|
||||||
|
|
||||||
# Final image.
|
# Final image.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user