noop/Dockerfile

9 lines
155 B
Text
Raw Permalink Normal View History

2022-05-31 14:49:55 +01:00
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" ]