This commit is contained in:
parent
aee461b47c
commit
09c4d66797
|
@ -4,11 +4,10 @@ WORKDIR /go/src/git.sbruder.de/simon/alertmanager-gotify/
|
||||||
|
|
||||||
COPY alertmanager-gotify.go .
|
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 \
|
RUN go get -v \
|
||||||
&& CGO_ENABLED=0 go build -v -ldflags="-s -w" \
|
&& CGO_ENABLED=0 go build -v -ldflags="-s -w"
|
||||||
&& upx --ultra-brute alertmanager-gotify
|
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
|
||||||
|
|
Reference in a new issue