summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2021-09-16 11:18:24 -0400
committerMatthew Heon <mheon@redhat.com>2021-09-16 11:18:24 -0400
commit66eb692243183f492a7088265f8e8d0ad2e2711c (patch)
tree5eab415c32160d426268471fb416e556be4464d1 /docs
parenta647e1d18a15bef2a25d0eb84ea3c1889ef817be (diff)
downloadpodman-66eb692243183f492a7088265f8e8d0ad2e2711c.tar.gz
podman-66eb692243183f492a7088265f8e8d0ad2e2711c.tar.bz2
podman-66eb692243183f492a7088265f8e8d0ad2e2711c.zip
Fix podman-build manpages by using version from main
Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/source/markdown/podman-build.1.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-build.1.md b/docs/source/markdown/podman-build.1.md
index a2ed35f89..3278436bd 100644
--- a/docs/source/markdown/podman-build.1.md
+++ b/docs/source/markdown/podman-build.1.md
@@ -540,6 +540,15 @@ layers are not squashed.
Squash all of the new image's layers (including those inherited from a base
image) into a single new layer.
+#### **--ssh**=*default|id[=socket>|[,]*
+
+SSH agent socket or keys to expose to the build.
+The socket path can be left empty to use the value of `default=$SSH_AUTH_SOCK`
+
+To later use the ssh agent, use the --mount flag in a `RUN` instruction within a `Containerfile`:
+
+`RUN --mount=type=ssh,id=id mycmd`
+
#### **--stdin**
Pass stdin into the RUN containers. Sometime commands being RUN within a Containerfile