diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-02-17 22:44:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-17 22:44:04 +0100 |
commit | 3f32eae56fed23e93c45d7da53da33702e954a26 (patch) | |
tree | cf3b89fca4fbbe365f2ebca71ed26980c5307523 /cmd/podman/build.go | |
parent | 6aaf8d39a9a26510e40fd54399e97fe177afadde (diff) | |
parent | b62c0e703d70439c677205fb423e81491e8d1cf9 (diff) | |
download | podman-3f32eae56fed23e93c45d7da53da33702e954a26.tar.gz podman-3f32eae56fed23e93c45d7da53da33702e954a26.tar.bz2 podman-3f32eae56fed23e93c45d7da53da33702e954a26.zip |
Merge pull request #2357 from TomSweeneyRedHat/dev/tsweeney/cobrahelp3
Add 3rd chunk of Cobra examples
Diffstat (limited to 'cmd/podman/build.go')
-rw-r--r-- | cmd/podman/build.go | 4 |
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 .`, } ) |