noop/Dockerfile
2022-05-31 14:49:55 +01:00

8 lines
155 B
Docker

FROM alpine:latest as builder
RUN apk add --no-cache build-base
COPY noop.c Makefile ./
RUN make
FROM scratch
COPY --from=builder /noop /
CMD [ "/noop" ]