alertmanager-ntfy

This commit is contained in:
chris 2025-06-02 19:24:35 +02:00
commit eb9685a7c2
Signed by: c6ristian
SSH key fingerprint: SHA256:B3m+yzpaxGXSEcDBpPHfvza/DNC0wuX+CKMeGq8wgak
2 changed files with 74 additions and 0 deletions

View file

@ -0,0 +1,14 @@
ARG TAG=latest
FROM docker.io/golang:${TAG} as builder
ARG CGO_ENABLED=0
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go build
FROM scratch
COPY --from=builder /app/alertmanager-ntfy /alertmanager-ntfy
ENTRYPOINT ["/alertmanager-ntfy"]