Files
KNELKumaGlpiBridge/Dockerfile
ic-builder 16519fd97f
ci / vet (push) Failing after 7s
ci / vet (pull_request) Failing after 6s
kuma-glpi-bridge: webhook receiver opening GLPI incident tickets
Go service: Kuma webhook -> GLPI REST (two-step session) ticket per
monitor down-event, dedupe while open, recovery followup + solve on up.
Distroless image; CI = gofmt/vet/build/secret-scan.

Ticket: https://projects.knownelement.com/issues/824
2026-09-06 12:30:48 -05:00

11 lines
239 B
Docker

FROM golang:1.23-alpine AS build
WORKDIR /src
COPY go.mod ./
COPY cmd/ ./cmd/
RUN go build -ldflags="-s -w" -o /out/bridge ./cmd/bridge
FROM scratch
COPY --from=build /out/bridge /bridge
USER 65532:65532
EXPOSE 8080
ENTRYPOINT ["/bridge"]