mirror of
https://github.com/containers/podman.git
synced 2025-05-20 08:36:23 +08:00
[CI:DOCS] Fix git build example in build page
The git repo that was used for the example of a git build: `podman build https://github.com/scollier/purpletest` no longer exists. Someone reached out to @rhatdan about this and he suggested using the Podman Hello World repo. However, that didn't exist until a little bit ago, so I've updated the man page with a pointer there. That should be a lot more stable. [NO NEW TESTS NEEDED] Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
This commit is contained in:
@ -1047,7 +1047,8 @@ use it as the context. The Containerfile at the root of the repository is used
|
||||
and it only works if the GitHub repository is a dedicated repository.
|
||||
|
||||
```
|
||||
$ podman build https://github.com/scollier/purpletest
|
||||
$ podman build -t hello https://github.com/containers/PodmanHello.git
|
||||
$ podman run hello
|
||||
```
|
||||
|
||||
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.
|
||||
|
Reference in New Issue
Block a user