mirror of
https://github.com/containers/podman.git
synced 2025-07-04 01:48:28 +08:00
docs: clarify when a URL is treated as a git repo
Closes: https://github.com/containers/podman/issues/21605 [CI:DOCS] clarify podman build git repo handling Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
@ -35,7 +35,8 @@ When the URL is a Containerfile, the Containerfile is downloaded to a temporary
|
|||||||
location.
|
location.
|
||||||
|
|
||||||
When a Git repository is set as the URL, the repository is cloned locally and
|
When a Git repository is set as the URL, the repository is cloned locally and
|
||||||
then set as the context.
|
then set as the context. A URL is treated as a Git repository if it
|
||||||
|
has a `git://` prefix or a `.git` suffix.
|
||||||
|
|
||||||
NOTE: `podman build` uses code sourced from the `Buildah` project to build
|
NOTE: `podman build` uses code sourced from the `Buildah` project to build
|
||||||
container images. This `Buildah` code creates `Buildah` containers for the
|
container images. This `Buildah` code creates `Buildah` containers for the
|
||||||
|
Reference in New Issue
Block a user