gentoo-base (sha256:a11efbf8fec562d069da7835c231869a3e723415f7a90035002a4d3510efe326)

Published 2026-11-08 01:11:08 -08:00 by pkg-publish

Installation

docker pull git.canutethegreat.com/canutethegreat/gentoo-base@sha256:a11efbf8fec562d069da7835c231869a3e723415f7a90035002a4d3510efe326
sha256:a11efbf8fec562d069da7835c231869a3e723415f7a90035002a4d3510efe326

About this package

Gentoo stage3 openrc + Portage tree + git + rust-bin, official binhost configured

Image layers

WORKDIR /
COPY /gentoo/ / # buildkit
CMD ["/bin/bash"]
ARG TARGETARCH=arm64
ARG BUILDER_PACKAGES=dev-vcs/git dev-lang/rust-bin app-misc/ca-certificates
RUN |2 TARGETARCH=arm64 BUILDER_PACKAGES=dev-vcs/git dev-lang/rust-bin app-misc/ca-certificates /bin/sh -c set -eu; case "${TARGETARCH}" in amd64) BH=https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64 ;; arm64) BH=https://distfiles.gentoo.org/releases/arm64/binpackages/23.0/arm64 ;; *) echo "unsupported arch ${TARGETARCH}" >&2; exit 1 ;; esac; mkdir -p /etc/portage/binrepos.conf; printf '[gentoo]\npriority = 1\nsync-uri = %s\n' "$BH" > /etc/portage/binrepos.conf/gentoobinhost.conf; printf '%s\n' 'FEATURES="${FEATURES} getbinpkg binpkg-request-signature -sandbox -usersandbox -ipc-sandbox -network-sandbox -pid-sandbox"' 'EMERGE_DEFAULT_OPTS="--jobs=2 --quiet-build=y"' 'ACCEPT_LICENSE="-* @FREE @BINARY-REDISTRIBUTABLE"' >> /etc/portage/make.conf # buildkit
RUN |2 TARGETARCH=arm64 BUILDER_PACKAGES=dev-vcs/git dev-lang/rust-bin app-misc/ca-certificates /bin/sh -c emerge-webrsync -q && getuto && (curl -fsSL --retry 3 https://f002.backblazeb2.com/file/ctg-binhost/ctg-binhost-setup.sh | sh -s -- --arch "${TARGETARCH}" --init openrc || echo "ctg binhost not configured (official binhost only)") # buildkit
RUN |2 TARGETARCH=arm64 BUILDER_PACKAGES=dev-vcs/git dev-lang/rust-bin app-misc/ca-certificates /bin/sh -c emerge --verbose --getbinpkg --usepkg --noreplace ${BUILDER_PACKAGES} && rm -rf /var/cache/distfiles/* /var/cache/binpkgs/* /var/tmp/portage/* # buildkit
LABEL org.opencontainers.image.title=gentoo-base:builder org.opencontainers.image.description=Gentoo stage3 openrc + Portage tree + git + rust-bin, official binhost configured

Labels

Key Value
org.opencontainers.image.description Gentoo stage3 openrc + Portage tree + git + rust-bin, official binhost configured
org.opencontainers.image.title gentoo-base:builder
Details
Container
2026-11-08 01:11:08 -08:00
1
2026-11-08 01:11:54 -08:00
OCI / Docker
linux/arm64
790 MiB
Versions (6) View all
runtime 2026-11-08
builder 2026-11-08
runtime-arm64 2026-11-08
builder-arm64 2026-11-08
runtime-amd64 2026-11-07