hello |
hello |
FROM alpine:latest as builder | |
WORKDIR /build | |
RUN apk update && \ | |
apk add gcc make libc-dev | |
COPY . ./ | |
RUN make | |
FROM scratch | |
WORKDIR / | |
COPY --from=builder /build/hello . | |
CMD ["/hello"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment