Adds a new `checkout` step intended to replace `git checkout` by actually checking out the correct revision when running commands. Adds a new `upload_artifact` step that uploads an artifact to a package specific prefix. Primarily intended for supporting Go dependency archives, but could also be used for anything. Added `net-vpn/tailscale` using this new functionality.
14 lines
No EOL
502 B
Docker
14 lines
No EOL
502 B
Docker
# Used as the base image for elint and updater.
|
|
FROM gentoo/stage3
|
|
WORKDIR "/src/updater"
|
|
|
|
RUN emerge-webrsync && \
|
|
emerge -v dev-vcs/git && \
|
|
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}"
|
|
RUN set -e; whoami; echo $HOME; mise --version |