2024-02-18 17:52:09 -08:00
|
|
|
# Used as the base image for elint and updater.
|
2023-11-23 11:55:55 -07:00
|
|
|
FROM gentoo/stage3
|
2024-05-16 21:03:59 -07:00
|
|
|
LABEL org.opencontainers.image.source="https://github.com/jaredallard/overlay"
|
2024-02-18 17:52:09 -08:00
|
|
|
WORKDIR "/src/updater"
|
|
|
|
|
2024-05-10 12:53:02 -07:00
|
|
|
RUN export MAKEOPTS="-j$(nproc)" && \
|
2025-02-28 19:17:07 -08:00
|
|
|
export GENTOO_MIRRORS="https://gentoo.rgst.io/gentoo" && \
|
2024-05-10 12:53:02 -07:00
|
|
|
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
|
2024-05-10 12:42:43 -07:00
|
|
|
|
|
|
|
# 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
|