mirror of
https://github.com/containers/podman.git
synced 2025-12-04 04:09:40 +08:00
Update podman build to match buildah bud functionality
Add --label, --annotations, --idfile, --squash Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #824 Approved by: TomSweeneyRedHat
This commit is contained in:
committed by
Atomic Bot
parent
d252fa710e
commit
915364034f
12
vendor/github.com/projectatomic/buildah/pkg/cli/common.go
generated
vendored
12
vendor/github.com/projectatomic/buildah/pkg/cli/common.go
generated
vendored
@@ -11,6 +11,10 @@ import (
|
||||
|
||||
var (
|
||||
BudFlags = []cli.Flag{
|
||||
cli.StringSliceFlag{
|
||||
Name: "annotation",
|
||||
Usage: "Set metadata for an image (default [])",
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "authfile",
|
||||
Usage: "path of the authentication file. Default is ${XDG_RUNTIME_DIR}/containers/auth.json",
|
||||
@@ -53,6 +57,10 @@ var (
|
||||
Name: "iidfile",
|
||||
Usage: "Write the image ID to the file",
|
||||
},
|
||||
cli.StringSliceFlag{
|
||||
Name: "label",
|
||||
Usage: "Set metadata for an image (default [])",
|
||||
},
|
||||
cli.BoolFlag{
|
||||
Name: "no-cache",
|
||||
Usage: "Do not use caching for the container build. Buildah does not currently support caching so this is a NOOP.",
|
||||
@@ -139,11 +147,11 @@ var (
|
||||
},
|
||||
cli.StringSliceFlag{
|
||||
Name: "security-opt",
|
||||
Usage: "security Options (default [])",
|
||||
Usage: "security options (default [])",
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "shm-size",
|
||||
Usage: "size of `/dev/shm`. The format is `<number><unit>`.",
|
||||
Usage: "size of '/dev/shm'. The format is `<number><unit>`.",
|
||||
Value: "65536k",
|
||||
},
|
||||
cli.StringSliceFlag{
|
||||
|
||||
Reference in New Issue
Block a user