Skip to content

Commit

Permalink
Fix docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
Jochem Bruijns committed Mar 11, 2024
1 parent 9852da4 commit c2ceba9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
FROM golang:1.19 AS build
FROM golang:1.22

WORKDIR /app
ADD . .
RUN make build

FROM centurylink/ca-certs
MAINTAINER Daniel Martins <[email protected]>

COPY --from=build /app/bin/pingdom-exporter /pingdom-exporter
ENTRYPOINT ["/pingdom-exporter"]
ENTRYPOINT ["/app/bin/pingdom-exporter"]

USER 65534:65534

0 comments on commit c2ceba9

Please sign in to comment.