9 lines
155 B
Text
9 lines
155 B
Text
|
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" ]
|