summaryrefslogtreecommitdiff
path: root/cmd/podman/build.go
diff options
context:
space:
mode:
authorTomSweeneyRedHat <tsweeney@redhat.com>2019-02-17 11:14:10 -0500
committerTomSweeneyRedHat <tsweeney@redhat.com>2019-02-17 13:49:05 -0500
commitb62c0e703d70439c677205fb423e81491e8d1cf9 (patch)
treec8a2cea744a1a770800ea85cf1c646c2b573ec4b /cmd/podman/build.go
parenta99f4924d9d76f59e85bde09944d7c5e687ea8aa (diff)
downloadpodman-b62c0e703d70439c677205fb423e81491e8d1cf9.tar.gz
podman-b62c0e703d70439c677205fb423e81491e8d1cf9.tar.bz2
podman-b62c0e703d70439c677205fb423e81491e8d1cf9.zip
Add 3rd chunk of Cobra examples
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com> Adds the third chunk of Cobra examples to the cli help. As were putting together a release tomorrow, tried to hit the heavy commands with this PR. Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
Diffstat (limited to 'cmd/podman/build.go')
-rw-r--r--cmd/podman/build.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/podman/build.go b/cmd/podman/build.go
index 30a734377..bb252f171 100644
--- a/cmd/podman/build.go
+++ b/cmd/podman/build.go
@@ -40,7 +40,9 @@ var (
buildCommand.NameSpaceResults = &namespaceValues
return buildCmd(&buildCommand)
},
- Example: "CONTEXT-DIRECTORY | URL",
+ Example: `podman build .
+ podman build --cert-dir ~/auth --creds=username:password -t imageName -f Dockerfile.simple .
+ podman build --layers --force-rm --tag imageName .`,
}
)