mirror of
https://github.com/containers/podman.git
synced 2025-10-19 12:12:36 +08:00
move from docker.io
Followon to #7965 (mirror registry). mirror.gcr.io doesn't cache all the images we need, and I can't find a way to add to its cache, so let's just use quay.io for those images that it can't serve. Tools used: skopeo copy --all docker://docker.io/library/alpine:3.10.2 \ docker://quay.io/libpod/alpine:3.10.2 ...and also: docker.io/library/alpine:3.2 docker.io/library/busybox:latest docker.io/library/busybox:glibc docker.io/library/busybox:1.30.1 docker.io/library/redis:alpine docker.io/libpod/alpine-with-bogus-seccomp:label docker.io/libpod/alpine-with-seccomp:label docker.io/libpod/alpine_healthcheck:latest docker.io/libpod/badhealthcheck:latest Since most of those were new quay.io/libpod images, they required going in through the quay.io GUI, image, settings, Make Public. Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
@ -33,7 +33,7 @@ var _ = Describe("Podman run entrypoint", func() {
|
||||
})
|
||||
|
||||
It("podman run no command, entrypoint, or cmd", func() {
|
||||
dockerfile := `FROM docker.io/library/alpine:latest
|
||||
dockerfile := `FROM quay.io/libpod/alpine:latest
|
||||
ENTRYPOINT []
|
||||
CMD []
|
||||
`
|
||||
@ -44,7 +44,7 @@ CMD []
|
||||
})
|
||||
|
||||
It("podman run entrypoint", func() {
|
||||
dockerfile := `FROM docker.io/library/alpine:latest
|
||||
dockerfile := `FROM quay.io/libpod/alpine:latest
|
||||
ENTRYPOINT ["grep", "Alpine", "/etc/os-release"]
|
||||
`
|
||||
podmanTest.BuildImage(dockerfile, "foobar.com/entrypoint:latest", "false")
|
||||
@ -55,7 +55,7 @@ ENTRYPOINT ["grep", "Alpine", "/etc/os-release"]
|
||||
})
|
||||
|
||||
It("podman run entrypoint with cmd", func() {
|
||||
dockerfile := `FROM docker.io/library/alpine:latest
|
||||
dockerfile := `FROM quay.io/libpod/alpine:latest
|
||||
CMD [ "-v"]
|
||||
ENTRYPOINT ["grep", "Alpine", "/etc/os-release"]
|
||||
`
|
||||
@ -67,7 +67,7 @@ ENTRYPOINT ["grep", "Alpine", "/etc/os-release"]
|
||||
})
|
||||
|
||||
It("podman run entrypoint with user cmd overrides image cmd", func() {
|
||||
dockerfile := `FROM docker.io/library/alpine:latest
|
||||
dockerfile := `FROM quay.io/libpod/alpine:latest
|
||||
CMD [ "-v"]
|
||||
ENTRYPOINT ["grep", "Alpine", "/etc/os-release"]
|
||||
`
|
||||
@ -79,7 +79,7 @@ ENTRYPOINT ["grep", "Alpine", "/etc/os-release"]
|
||||
})
|
||||
|
||||
It("podman run entrypoint with user cmd no image cmd", func() {
|
||||
dockerfile := `FROM docker.io/library/alpine:latest
|
||||
dockerfile := `FROM quay.io/libpod/alpine:latest
|
||||
ENTRYPOINT ["grep", "Alpine", "/etc/os-release"]
|
||||
`
|
||||
podmanTest.BuildImage(dockerfile, "foobar.com/entrypoint:latest", "false")
|
||||
@ -91,7 +91,7 @@ ENTRYPOINT ["grep", "Alpine", "/etc/os-release"]
|
||||
|
||||
It("podman run user entrypoint overrides image entrypoint and image cmd", func() {
|
||||
SkipIfRemote("FIXME: podman-remote not handling passing --entrypoint=\"\" flag correctly")
|
||||
dockerfile := `FROM docker.io/library/alpine:latest
|
||||
dockerfile := `FROM quay.io/libpod/alpine:latest
|
||||
CMD ["-i"]
|
||||
ENTRYPOINT ["grep", "Alpine", "/etc/os-release"]
|
||||
`
|
||||
@ -108,7 +108,7 @@ ENTRYPOINT ["grep", "Alpine", "/etc/os-release"]
|
||||
})
|
||||
|
||||
It("podman run user entrypoint with command overrides image entrypoint and image cmd", func() {
|
||||
dockerfile := `FROM docker.io/library/alpine:latest
|
||||
dockerfile := `FROM quay.io/libpod/alpine:latest
|
||||
CMD ["-i"]
|
||||
ENTRYPOINT ["grep", "Alpine", "/etc/os-release"]
|
||||
`
|
||||
|
Reference in New Issue
Block a user