do not use upx
continuous-integration/drone/push Build is passing Details

master
Simon Bruder 2019-06-17 12:21:36 +00:00
parent aee461b47c
commit 09c4d66797
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
1 changed files with 2 additions and 3 deletions

View File

@ -4,11 +4,10 @@ WORKDIR /go/src/git.sbruder.de/simon/alertmanager-gotify/
COPY alertmanager-gotify.go .
RUN apk add --no-cache git upx ca-certificates
RUN apk add --no-cache git ca-certificates
RUN go get -v \
&& CGO_ENABLED=0 go build -v -ldflags="-s -w" \
&& upx --ultra-brute alertmanager-gotify
&& CGO_ENABLED=0 go build -v -ldflags="-s -w"
FROM scratch