Files
unkin-agent 702f0706aa
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build-matrix/2 Pipeline was successful
ci/woodpecker/pr/build-matrix/3 Pipeline was successful
ci/woodpecker/pr/build-matrix/1 Pipeline was successful
ci/woodpecker/pr/build-matrix/4 Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
feat: scaffold rpmbuilder image
2026-10-05 13:54:47 +11:00

19 lines
617 B
Docker

ARG REGISTRY=artifactapi.k8s.syd1.au.unkin.net/docker-internal
# The container-base release this image is built on — the one place to bump it.
ARG BASE_VERSION=0.2.0
ARG BASE_IMAGE_NAME=almalinux9
FROM ${REGISTRY}/${BASE_IMAGE_NAME}:${BASE_VERSION} AS image
ARG DISTRO=alma9
COPY distros/${DISTRO}/ /tmp/distro/
# DL3041: versions are pinned by the estate dnf repos, not here. SC2086: $PACKAGES is a
# word list on purpose.
# hadolint ignore=DL3041,SC2086
RUN set -eux; \
. /tmp/distro/distro.env; \
dnf install -y $PACKAGES; \
dnf clean all; \
rm -rf /var/cache/dnf /tmp/distro
CMD ["/bin/bash"]