diff --git a/Dockerfile b/Dockerfile index 40ae31a..81990bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,11 @@ -# VERSION 0.1.0 +FROM gcc AS build +WORKDIR /tmp + +COPY noop.c . +RUN gcc noop.c -static -o noop FROM scratch MAINTAINER Jan Nash -ADD ./noop / +COPY --from=build /tmp/noop / CMD ["/noop"] diff --git a/noop b/noop deleted file mode 100755 index f88f768..0000000 Binary files a/noop and /dev/null differ