Initial commit
ContainerImages/alertmanager-ntfy/pipeline/head This commit looks good
Details
ContainerImages/alertmanager-ntfy/pipeline/head This commit looks good
Details
commit
5cf07601e4
|
@ -0,0 +1,16 @@
|
||||||
|
FROM docker.io/library/golang:1.21-alpine AS build
|
||||||
|
|
||||||
|
RUN apk add --no-cache git
|
||||||
|
|
||||||
|
WORKDIR /go/alertmanager-ntfy
|
||||||
|
|
||||||
|
RUN git init && git remote add origin https://github.com/alexbakker/alertmanager-ntfy && git fetch --depth=1 origin 4164649d0ed1c7246d9719cd95d1bc78a51083fa && git checkout -f FETCH_HEAD
|
||||||
|
RUN go install ./...
|
||||||
|
|
||||||
|
FROM scratch
|
||||||
|
|
||||||
|
COPY --from=build /go/bin/alertmanager-ntfy /
|
||||||
|
|
||||||
|
ENV PATH=/
|
||||||
|
|
||||||
|
ENTRYPOINT ["alertmanager-ntfy"]
|
|
@ -0,0 +1 @@
|
||||||
|
buildContainerImage2()
|
Loading…
Reference in New Issue