From 09c4d66797245af85c4e27fc49c887f6b2b58671 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Mon, 17 Jun 2019 12:21:36 +0000 Subject: [PATCH] do not use upx --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index bb57e69..41c2c05 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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