github.com/containers/podman/v4@v4.9.4/contrib/hello/Containerfile (about) 1 FROM docker.io/alpine as builder 2 RUN apk add gcc libc-dev 3 ADD podman_hello_world.c . 4 RUN gcc -O2 -static -o podman_hello_world podman_hello_world.c 5 6 FROM scratch 7 LABEL maintainer="Podman Maintainers" 8 LABEL artist="Máirín Ní Ḋuḃṫaiġ, Twitter:@mairin" 9 USER 1000 10 COPY --from=builder podman_hello_world /usr/local/bin/podman_hello_world 11 CMD ["/usr/local/bin/podman_hello_world"]