Add dockerfile
This commit is contained in:
parent
258923eb32
commit
f2c478757f
|
@ -0,0 +1 @@
|
|||
./.gitignore
|
|
@ -0,0 +1,8 @@
|
|||
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" ]
|
Loading…
Reference in New Issue