From fbab06796a4c9bc17d65259c7d6c85a483e9aefb Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Thu, 5 May 2022 13:48:33 -0400 Subject: Vendor in containers/buildah@v1.26.1 Signed-off-by: Daniel J Walsh --- vendor/github.com/openshift/imagebuilder/dispatchers.go | 2 ++ vendor/github.com/openshift/imagebuilder/imagebuilder.spec | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'vendor/github.com/openshift') diff --git a/vendor/github.com/openshift/imagebuilder/dispatchers.go b/vendor/github.com/openshift/imagebuilder/dispatchers.go index fd05f031c..c437e4c23 100644 --- a/vendor/github.com/openshift/imagebuilder/dispatchers.go +++ b/vendor/github.com/openshift/imagebuilder/dispatchers.go @@ -234,7 +234,9 @@ func from(b *Builder, args []string, attributes map[string]bool, flagArgs []stri return fmt.Errorf("Windows does not support FROM scratch") } } + defaultArgs := envMapAsSlice(builtinBuildArgs) userArgs := mergeEnv(envMapAsSlice(b.Args), b.Env) + userArgs = mergeEnv(defaultArgs, userArgs) for _, a := range flagArgs { arg, err := ProcessWord(a, userArgs) if err != nil { diff --git a/vendor/github.com/openshift/imagebuilder/imagebuilder.spec b/vendor/github.com/openshift/imagebuilder/imagebuilder.spec index 6a88a4fc4..143bfc355 100644 --- a/vendor/github.com/openshift/imagebuilder/imagebuilder.spec +++ b/vendor/github.com/openshift/imagebuilder/imagebuilder.spec @@ -12,7 +12,7 @@ # %global golang_version 1.8.1 -%{!?version: %global version 1.2.3} +%{!?version: %global version 1.2.4-dev} %{!?release: %global release 1} %global package_name imagebuilder %global product_name Container Image Builder -- cgit v1.2.3-54-g00ecf