From eb6620393a5065ea3a5b94fb07f121dfc38f2449 Mon Sep 17 00:00:00 2001 From: David Simansky Date: Fri, 10 Oct 2025 14:54:11 +0200 Subject: [PATCH] Add explicit -y to microdnf cmd in func utils --- pkg/dockerfilegen/dockerfile-templates/FuncUtil.dockerfile.tmpl | 2 +- .../dockerfile-templates/rhel-9/FuncUtil.dockerfile.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/dockerfilegen/dockerfile-templates/FuncUtil.dockerfile.tmpl b/pkg/dockerfilegen/dockerfile-templates/FuncUtil.dockerfile.tmpl index 0b14b6770..fc4bf6957 100644 --- a/pkg/dockerfilegen/dockerfile-templates/FuncUtil.dockerfile.tmpl +++ b/pkg/dockerfilegen/dockerfile-templates/FuncUtil.dockerfile.tmpl @@ -17,7 +17,7 @@ FROM $GO_RUNTIME ARG VERSION={{.version}} -RUN microdnf install socat tar +RUN microdnf install -y socat tar {{- range $c := .additional_instructions }} {{ $c }} {{- end }} diff --git a/pkg/dockerfilegen/dockerfile-templates/rhel-9/FuncUtil.dockerfile.tmpl b/pkg/dockerfilegen/dockerfile-templates/rhel-9/FuncUtil.dockerfile.tmpl index a675dc860..6cafaee3c 100644 --- a/pkg/dockerfilegen/dockerfile-templates/rhel-9/FuncUtil.dockerfile.tmpl +++ b/pkg/dockerfilegen/dockerfile-templates/rhel-9/FuncUtil.dockerfile.tmpl @@ -17,7 +17,7 @@ FROM $GO_RUNTIME ARG VERSION={{.version}} -RUN microdnf install socat tar +RUN microdnf install -y socat tar {{- range $c := .additional_instructions }} {{ $c }} {{- end }}