overlay/Dockerfile

17 lines
695 B
Text
Raw Normal View History

# Used as the base image for elint and updater.
2023-11-23 11:55:55 -07:00
FROM gentoo/stage3
LABEL org.opencontainers.image.source="https://github.com/jaredallard/overlay"
WORKDIR "/src/updater"
RUN export MAKEOPTS="-j$(nproc)" && \
2025-02-28 19:17:07 -08:00
export GENTOO_MIRRORS="https://gentoo.rgst.io/gentoo" && \
emerge-webrsync && \
2025-02-28 19:17:07 -08:00
emerge -v dev-vcs/git net-misc/aria2 && \
2024-02-21 21:45:31 -08:00
ACCEPT_KEYWORDS="~amd64 ~arm64" emerge -v app-portage/pycargoebuild && \
emerge -v app-portage/gentoolkit && \
eclean --deep packages && eclean --deep distfiles
# Install mise for things that might need it.
RUN curl https://mise.run | sh
ENV PATH="/root/.local/bin:/root/.local/share/mise/shims:${PATH}"
2024-06-23 14:03:55 -07:00
RUN set -e; whoami; echo "$HOME"; mise --version