Fix example in readme.

Unmasking has to be done on the host and
/etc/portage/package.accept_keywords has to be created.
This commit is contained in:
tastytea 2020-05-05 01:04:50 +02:00
parent d536703968
commit 7d63dc741d
1 changed files with 2 additions and 1 deletions

View File

@ -33,8 +33,9 @@ COPY --from=portage /var/db/repos/gentoo /var/db/repos/gentoo
COPY --from=gentoo-base / /workdir
RUN cp /workdir/etc/portage/make.conf /etc/portage/make.conf
RUN eselect profile set default/linux/amd64/17.1
RUN mkdir -p /etc/portage/package.accept_keywords
RUN echo 'games-misc/cowsay' >> \
/workdir/etc/portage/package.accept_keywords/cowsay
/etc/portage/package.accept_keywords/cowsay
RUN emerge --root=/workdir --buildpkg=y --usepkg --quiet games-misc/cowsay
# Final image.