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:
parent
d536703968
commit
7d63dc741d
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user