summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2020-08-27 11:54:23 +0200
committerMatthew Heon <mheon@redhat.com>2020-09-25 11:13:28 -0400
commit8cae9b56f7888baeee5f45df09d65ff48b0b2c42 (patch)
tree8c7017ff71deb9eac3768d33a1f96030dbe1b21c
parente72592c25d5d5b44669fd2975c5f6ec690ce8bfa (diff)
downloadpodman-8cae9b56f7888baeee5f45df09d65ff48b0b2c42.tar.gz
podman-8cae9b56f7888baeee5f45df09d65ff48b0b2c42.tar.bz2
podman-8cae9b56f7888baeee5f45df09d65ff48b0b2c42.zip
build: honor --runtime setting
pass down to Buildah the --runtime setting. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
-rw-r--r--cmd/podman/images/build.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/images/build.go b/cmd/podman/images/build.go
index 00777c48c..d24bb18b6 100644
--- a/cmd/podman/images/build.go
+++ b/cmd/podman/images/build.go
@@ -436,6 +436,7 @@ func buildFlagsWrapperToOptions(c *cobra.Command, contextDir string, flags *buil
Quiet: flags.Quiet,
RemoveIntermediateCtrs: flags.Rm,
ReportWriter: reporter,
+ Runtime: containerConfig.RuntimePath,
RuntimeArgs: runtimeFlags,
SignBy: flags.SignBy,
SignaturePolicyPath: flags.SignaturePolicy,