commit c85ebd632f60a8844185c8c35950c95ba698335e Author: Manuel Friedli Date: Mon Apr 15 03:16:28 2024 +0200 Initial commit: Add Dockerfile for pkgcheck-Gentoo-image. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1062418 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.idea/ +*.iml diff --git a/pkgcheck.Dockerfile b/pkgcheck.Dockerfile new file mode 100644 index 0000000..0d7efbe --- /dev/null +++ b/pkgcheck.Dockerfile @@ -0,0 +1,13 @@ +# Portage tree. +FROM gentoo/portage:latest as portage + +# Base Gentoo image +FROM gentoo/stage3:amd64-nomultilib-openrc as build +LABEL maintainer=manuel@fritteli.ch +LABEL description="Gentoo pkgcheck image" + +COPY --from=portage /var/db/repos/gentoo /var/db/repos/gentoo +RUN echo 'FEATURES="-ipc-sandbox -network-sandbox -pid-sandbox"' >> /etc/portage/make.conf +RUN emerge -v --noreplace \ + dev-util/pkgcheck \ + dev-vcs/git