Files
ITWorx-Pulse-Public/deploy/smoke-fixture.Dockerfile
ITWorx Pulse release export bd774932d5
Public source validation / validate (push) Failing after 3m8s
Publish ITWorx Pulse source
2026-09-03 02:09:19 +02:00

13 lines
625 B
Docker

FROM golang:1.26.6-alpine@sha256:3889b425f035be855a72fb4755265311293b6d414521f0a519d819df32222d83 AS build
WORKDIR /src
COPY go.mod go.sum go.work go.work.sum ./
COPY tools/integrationfixture ./tools/integrationfixture
RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o /out/pulse-integration-fixture ./tools/integrationfixture
FROM scratch
COPY --from=build /out/pulse-integration-fixture /pulse-integration-fixture
USER 65532:65532
EXPOSE 9090
HEALTHCHECK --interval=2s --timeout=2s --retries=20 CMD ["/pulse-integration-fixture", "health", "http://127.0.0.1:9090/healthz"]
ENTRYPOINT ["/pulse-integration-fixture"]