diff options
Diffstat (limited to 'build/Dockerfile')
-rw-r--r-- | build/Dockerfile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build/Dockerfile b/build/Dockerfile new file mode 100644 index 0000000..88c6caf --- /dev/null +++ b/build/Dockerfile @@ -0,0 +1,8 @@ +# Build the binary with: +# <CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' .> + +FROM alpine + +COPY ./gotop /gotop + +ENTRYPOINT ["/gotop"] |