summaryrefslogtreecommitdiff
path: root/cmd/podman/images/build.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2020-08-27 11:54:23 +0200
committerGiuseppe Scrivano <giuseppe@scrivano.org>2020-09-24 15:37:17 +0200
commit7807bf195683b8983883eaa524f189a2d5fd3aca (patch)
tree059ad7708df93790e142fef0e60344c18c85a873 /cmd/podman/images/build.go
parent08cc91926db1cd17509f8578e2ff00a94747dbd4 (diff)
downloadpodman-7807bf195683b8983883eaa524f189a2d5fd3aca.tar.gz
podman-7807bf195683b8983883eaa524f189a2d5fd3aca.tar.bz2
podman-7807bf195683b8983883eaa524f189a2d5fd3aca.zip
build: honor --runtime setting
pass down to Buildah the --runtime setting. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'cmd/podman/images/build.go')
-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,