aboutsummaryrefslogtreecommitdiff
path: root/contrib/helloimage/Containerfile
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2022-03-10 12:51:47 -0500
committerChris Evich <cevich@redhat.com>2022-03-28 16:56:28 -0400
commitf6963cea130133086f739173b55d1af74a680fef (patch)
treec021fa21bce3432686595cb2b35bf483d1130b06 /contrib/helloimage/Containerfile
parent914e9b3f7057394401b45bbb732fb573414356ff (diff)
downloadpodman-f6963cea130133086f739173b55d1af74a680fef.tar.gz
podman-f6963cea130133086f739173b55d1af74a680fef.tar.bz2
podman-f6963cea130133086f739173b55d1af74a680fef.zip
Cirrus: Build multi-arch images + manifests
Github-actions for large/complex tasks is hard to read and maintain. Reimplement the multi-arch image build workflow into a set of bash scripts that use all native contrainer-org tooling. This requires a special VM image setup with emulation to build foreign architectures. It also requires renaming the `helloimage` directory, because the build script uses the directory name in the image FQIN. Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/helloimage/Containerfile')
-rw-r--r--contrib/helloimage/Containerfile11
1 files changed, 0 insertions, 11 deletions
diff --git a/contrib/helloimage/Containerfile b/contrib/helloimage/Containerfile
deleted file mode 100644
index 0cbf6d9a0..000000000
--- a/contrib/helloimage/Containerfile
+++ /dev/null
@@ -1,11 +0,0 @@
-FROM docker.io/alpine as builder
-RUN apk add gcc libc-dev
-ADD podman_hello_world.c .
-RUN gcc -O2 -static -o podman_hello_world podman_hello_world.c
-
-FROM scratch
-LABEL maintainer="Podman Maintainers"
-LABEL artist="Máirín Ní Ḋuḃṫaiġ, Twitter:@mairin"
-USER 1000
-COPY --from=builder podman_hello_world /usr/local/bin/podman_hello_world
-CMD ["/usr/local/bin/podman_hello_world"]