do not use upx
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
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

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