From b5275ecaf78fc7282ac383f899761eec0a7f250f Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Tue, 29 Apr 2025 15:29:18 -0400 Subject: [PATCH] Containerfile: support --build-arg BUILDER_IMAGE=quay.io/... too This will make it easier to override the builder image if that's desired too. --- Containerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index 0f173b6..4e30563 100644 --- a/Containerfile +++ b/Containerfile @@ -13,10 +13,11 @@ # Note we also support --build-arg REPOS_IMAGE=quay.io/fedora/fedora:41 here # since konflux doesn't yet support --from. ARG REPOS_IMAGE=quay.io/fedora/fedora:rawhide +ARG BUILDER_IMAGE=quay.io/fedora/fedora:rawhide FROM $REPOS_IMAGE as repos # BOOTSTRAPPING: This can be any image that has rpm-ostree and selinux-policy-targeted. -FROM quay.io/fedora/fedora:rawhide as builder +FROM $BUILDER_IMAGE as builder RUN dnf -y install rpm-ostree selinux-policy-targeted ARG MANIFEST=fedora-standard # The input git repository has .repo files committed to git rpm-ostree has historically