github.com/hanks177/podman/v4@v4.1.3-0.20220613032544-16d90015bc83/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"]