diff options
author | Paul Holzinger <pholzing@redhat.com> | 2022-01-13 14:28:53 +0100 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2022-01-13 15:01:28 +0100 |
commit | 92e7875210d3f6a52b3ef43e8a249022aba5a07c (patch) | |
tree | d5f7e1ad060c6fc2b53e9b040c5650e9b3ec3e5e /cmd | |
parent | b24063582d425e40f68f8fc2a773cf19546e9f94 (diff) | |
download | podman-92e7875210d3f6a52b3ef43e8a249022aba5a07c.tar.gz podman-92e7875210d3f6a52b3ef43e8a249022aba5a07c.tar.bz2 podman-92e7875210d3f6a52b3ef43e8a249022aba5a07c.zip |
podman build enable --all-platforms and --unsetenv
Make sure we add support for allplatforms and unsetenv to both local and
remote podman.
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/images/build.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/images/build.go b/cmd/podman/images/build.go index 751db099f..606c18aae 100644 --- a/cmd/podman/images/build.go +++ b/cmd/podman/images/build.go @@ -514,11 +514,10 @@ func buildFlagsWrapperToOptions(c *cobra.Command, contextDir string, flags *buil opts := buildahDefine.BuildOptions{ AddCapabilities: flags.CapAdd, AdditionalTags: tags, + AllPlatforms: flags.AllPlatforms, Annotations: flags.Annotation, Args: args, BlobDirectory: flags.BlobCache, - CNIConfigDir: flags.CNIConfigDir, - CNIPluginPath: flags.CNIPlugInPath, CommonBuildOpts: commonOpts, Compression: compression, ConfigureNetwork: networkPolicy, @@ -559,6 +558,7 @@ func buildFlagsWrapperToOptions(c *cobra.Command, contextDir string, flags *buil SystemContext: systemContext, Target: flags.Target, TransientMounts: flags.Volumes, + UnsetEnvs: flags.UnsetEnvs, } if flags.IgnoreFile != "" { |