alertmanager-ntfy
This commit is contained in:
parent
d0b7c32474
commit
6875313514
2 changed files with 87 additions and 0 deletions
14
alertmanager-ntfy/Containerfile
Normal file
14
alertmanager-ntfy/Containerfile
Normal 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"]
|
Loading…
Add table
Add a link
Reference in a new issue