Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 <jnash@jnash.de>

ADD ./noop /
COPY --from=build /tmp/noop /
CMD ["/noop"]
Binary file removed noop
Binary file not shown.