From c85ebd632f60a8844185c8c35950c95ba698335e Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Mon, 15 Apr 2024 03:16:28 +0200 Subject: [PATCH] Initial commit: Add Dockerfile for pkgcheck-Gentoo-image. --- .gitignore | 2 ++ pkgcheck.Dockerfile | 13 +++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 .gitignore create mode 100644 pkgcheck.Dockerfile 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