diff --git a/Dockerfile b/Dockerfile index c394d7a..fc8c12d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,9 @@ FROM golang:1.14-alpine COPY . /go/wings/ WORKDIR /go/wings/ -RUN go build +RUN apk add --no-cache upx \ + && go build -ldflags="-s -w" \ + && upx --brute wings FROM alpine:latest COPY --from=0 /go/wings/wings /usr/bin/