diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-01-15 09:23:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-15 09:23:57 -0500 |
commit | 5a166b297339d547d89fbf14248c3aff129eb960 (patch) | |
tree | 9c9e7f88b2e1dab42f525177ffda6a170b6e7454 /docs/source | |
parent | 3ceef004e3848d5fbddcf084c0db3f1ebe789312 (diff) | |
parent | c88022589aa3aa10593e7956cdf52d9e231f254d (diff) | |
download | podman-5a166b297339d547d89fbf14248c3aff129eb960.tar.gz podman-5a166b297339d547d89fbf14248c3aff129eb960.tar.bz2 podman-5a166b297339d547d89fbf14248c3aff129eb960.zip |
Merge pull request #8978 from rhatdan/buildah
Bump to containers/buildah 1.9.2
Diffstat (limited to 'docs/source')
-rw-r--r-- | docs/source/markdown/podman-build.1.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-build.1.md b/docs/source/markdown/podman-build.1.md index 32b14a267..29f763d54 100644 --- a/docs/source/markdown/podman-build.1.md +++ b/docs/source/markdown/podman-build.1.md @@ -388,6 +388,11 @@ Adjust the logging level up or down. Valid option values range from -2 to 3, with 3 being roughly equivalent to using the global *--debug* option, and values below 0 omitting even error messages which accompany fatal errors. +#### **--manifest** "manifest" + +Name of the manifest list to which the image will be added. Creates the manifest list +if it does not exist. This option is useful for building multi architecture images. + #### **--memory**, **-m**=*LIMIT* Memory limit (format: <number>[<unit>], where unit = b (bytes), k (kilobytes), m (megabytes), or g (gigabytes)) @@ -667,6 +672,10 @@ that the UTS namespace in which `podman` itself is being run should be reused, or it can be the path to a UTS namespace which is already in use by another process. +#### **--variant**="" + +Set the architecture variant of the image to be pulled. + #### **--volume**, **-v**[=*[HOST-DIR:CONTAINER-DIR[:OPTIONS]]*] Create a bind mount. If you specify, ` -v /HOST-DIR:/CONTAINER-DIR`, Podman @@ -811,6 +820,12 @@ $ podman build --layers --force-rm -t imageName . $ podman build --no-cache --rm=false -t imageName . ``` +### Building an multi-architecture image using a --manifest option (Requires emulation software) + +podman build --arch arm --manifest myimage /tmp/mysrc +podman build --arch amd64 --manifest myimage /tmp/mysrc +podman build --arch s390x --manifest myimage /tmp/mysrc + ### Building an image using a URL, Git repo, or archive The build context directory can be specified as a URL to a Containerfile, a |