aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/images
diff options
context:
space:
mode:
authorPaul Holzinger <paul.holzinger@web.de>2020-11-12 22:04:54 +0100
committerPaul Holzinger <paul.holzinger@web.de>2020-11-12 23:17:42 +0100
commit79f5aed31618b7d1b3c47f08ba9b33e600851232 (patch)
tree55d5c992515a044657ad1c720b2c8eaf6d0f5ad9 /cmd/podman/images
parenta65ecc70c21eb5eef7d7a6b70cc1f90e577bb72e (diff)
downloadpodman-79f5aed31618b7d1b3c47f08ba9b33e600851232.tar.gz
podman-79f5aed31618b7d1b3c47f08ba9b33e600851232.tar.bz2
podman-79f5aed31618b7d1b3c47f08ba9b33e600851232.zip
Add podman build --net alias for --network
Fixes #8332 Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'cmd/podman/images')
-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 f48d1cd94..09914db93 100644
--- a/cmd/podman/images/build.go
+++ b/cmd/podman/images/build.go
@@ -128,6 +128,7 @@ func buildFlags(flags *pflag.FlagSet) {
}
flags.AddFlagSet(&fromAndBudFlags)
_ = flags.MarkHidden("signature-policy")
+ flags.SetNormalizeFunc(buildahCLI.AliasFlags)
}
// build executes the build command.