From 5b6b689764058cf5b6db593638bdfa563e24e701 Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Fri, 9 Feb 2024 09:58:56 -0500 Subject: [PATCH] Remove disused Containerfile and docs Fixes: #21574 The documentation for this image references a quay repository that doesn't exist. It doesn't appear any of these files have been touched since late 2022. Instead of updating the docs, let's just remove the source. It's trivial to recreate if anybody actually needs it for something. Users needing to access remote podman can simply use the `podman` binary present in existing images `quay.io/containers/podman`, `quay.io/podman/stable`, etc. Signed-off-by: Chris Evich --- contrib/podmanremoteimage/Containerfile | 10 ---------- contrib/podmanremoteimage/README.md | 25 ------------------------- 2 files changed, 35 deletions(-) delete mode 100644 contrib/podmanremoteimage/Containerfile delete mode 100644 contrib/podmanremoteimage/README.md diff --git a/contrib/podmanremoteimage/Containerfile b/contrib/podmanremoteimage/Containerfile deleted file mode 100644 index 7d19bf6b08..0000000000 --- a/contrib/podmanremoteimage/Containerfile +++ /dev/null @@ -1,10 +0,0 @@ -FROM registry.access.redhat.com/ubi8/go-toolset:latest AS builder -WORKDIR /opt/app-root/src -COPY . . -RUN make podman-remote-static-linux_amd64 -RUN GOOS=windows make podman-remote -RUN GOOS=darwin make podman-remote - -FROM scratch -COPY --from=builder /opt/app-root/src/bin . -ENTRYPOINT ["/podman-remote-static-linux_amd64"] diff --git a/contrib/podmanremoteimage/README.md b/contrib/podmanremoteimage/README.md deleted file mode 100644 index ea4be3a865..0000000000 --- a/contrib/podmanremoteimage/README.md +++ /dev/null @@ -1,25 +0,0 @@ -podman-remote-images -==================== - -Overview --------- - -This directory contains the containerfile for creating a container image which consist podman-remote binary -for each platform (win/linux/mac). - -Users can copy those binaries onto the specific platforms using following instructions - -- For Windows binary -```bash -$ podman cp $(podman create --name remote-temp quay.io/containers/podman-remote-artifacts:latest):/windows/podman.exe . && podman rm remote-temp -``` - -- For Linux binary -```bash -$ podman cp $(podman create --name remote-temp quay.io/containers/podman-remote-artifacts:latest):/podman-remote-static-linux_amd64 . && podman rm remote-temp -``` - -- For Mac binary -```bash -$ podman cp $(podman create --name remote-temp quay.io/containers/podman-remote-artifacts:latest):/darwin/podman . && podman rm remote-temp -```