repoman: Add pkgcheck, unmask ~amd64, run quickpkg.

This commit is contained in:
tastytea 2020-05-05 02:30:10 +02:00
parent 6dd5f0841f
commit e6602217a7
1 changed files with 6 additions and 2 deletions

View File

@ -11,8 +11,12 @@ COPY --from=gentoo-base / /workdir
RUN cp /workdir/etc/portage/make.conf /etc/portage/make.conf
ENV USE "-curl -idn -net -ssl -webdav"
RUN eselect profile set default/linux/amd64/17.1
RUN mkdir -p /etc/portage/package.accept_keywords
RUN echo -e 'app-portage/repoman\ndev-util/pkgcheck\n sys-apps/pkgcore' >> \
/etc/portage/package.accept_keywords/portage
RUN quickpkg --include-config=y @world sys-libs/glibc
RUN emerge --root=/workdir --buildpkg=y --usepkg --quiet \
app-portage/repoman dev-vcs/git
app-portage/repoman dev-vcs/git dev-util/pkgcheck
RUN emerge --root=/workdir --rage-clean --quiet \
app-arch/tar \
app-arch/xz-utils \
@ -31,6 +35,6 @@ RUN rm -r /workdir/var/db/pkg
# Final image.
FROM gentoo/portage:latest
LABEL maintainer="tastytea+docker@tastytea.de"
LABEL description="Latest stable app-portage/repoman."
LABEL description="Latest ~amd64 app-portage/repoman and dev-util/pkgcheck."
COPY --from=build /workdir /
RUN eselect profile set default/linux/amd64/17.1