diff options
author | Aditya R <arajan@redhat.com> | 2022-08-11 21:26:10 +0530 |
---|---|---|
committer | Aditya R <arajan@redhat.com> | 2022-08-11 21:26:13 +0530 |
commit | e2a3f9592b844aacb18a9ed2a0e48ba83ba2739f (patch) | |
tree | 5b74efd2cd07c50947803c747b4df94c1958bafb /docs/source/markdown/podman-build.1.md.in | |
parent | 92bbae40de3c48ee6b4692ab9e4d7cc14db242bb (diff) | |
download | podman-e2a3f9592b844aacb18a9ed2a0e48ba83ba2739f.tar.gz podman-e2a3f9592b844aacb18a9ed2a0e48ba83ba2739f.tar.bz2 podman-e2a3f9592b844aacb18a9ed2a0e48ba83ba2739f.zip |
docs: specify git protocol is not supported for github hosted repo
Build from URL does not supports `git://` is source is hosted on Github.
Reason: https://github.blog/2021-09-01-improving-git-protocol-security-github/
[CI:DOCS]
[NO NEW TESTS NEEDED]
[NO TESTS NEEDED]
Similar to: https://github.com/containers/buildah/pull/4179
Signed-off-by: Aditya R <arajan@redhat.com>
Diffstat (limited to 'docs/source/markdown/podman-build.1.md.in')
-rw-r--r-- | docs/source/markdown/podman-build.1.md.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/source/markdown/podman-build.1.md.in b/docs/source/markdown/podman-build.1.md.in index 626a9db3b..c0cf08f3c 100644 --- a/docs/source/markdown/podman-build.1.md.in +++ b/docs/source/markdown/podman-build.1.md.in @@ -988,9 +988,11 @@ use it as the context. The Containerfile at the root of the repository will be used and it only works if the GitHub repository is a dedicated repository. ``` -$ podman build git://github.com/scollier/purpletest +$ podman build https://github.com/scollier/purpletest ``` + Note: Github does not support using `git://` for performing `clone` operation due to recent changes in their security guidance (https://github.blog/2021-09-01-improving-git-protocol-security-github/). Use an `https://` URL if the source repository is hosted on Github. + #### Building an image using a URL to an archive Podman will fetch the archive file, decompress it, and use its contents as the |