mirror of
https://github.com/containers/podman.git
synced 2025-12-09 23:27:09 +08:00
podman build --remote URI Dockerfile shoud not be treated as file
Podman build --remote is translating https://path as if it was a file path. This change will leave it as a URL so it can be parsed on the server side. Fixed: https://github.com/containers/podman/issues/20475 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@@ -1135,6 +1135,12 @@ EOF
|
||||
run_podman rmi -f build_test
|
||||
}
|
||||
|
||||
@test "podman build --file=https" {
|
||||
run_podman build -t build_test --file=https://raw.githubusercontent.com/containers/podman/main/test/build/from-scratch/Dockerfile $PODMAN_TMPDIR
|
||||
|
||||
run_podman rmi -f build_test
|
||||
}
|
||||
|
||||
function teardown() {
|
||||
# A timeout or other error in 'build' can leave behind stale images
|
||||
# that podman can't even see and which will cascade into subsequent
|
||||
|
||||
Reference in New Issue
Block a user