Skip to content

Commit

Permalink
fix exporter build
Browse files Browse the repository at this point in the history
  • Loading branch information
tombokombo committed Aug 10, 2023
1 parent c9802c6 commit 95be236
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions images/Dockerfile-exporter
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
FROM golang:alpine3.15 as builder
RUN go get github.com/letsencrypt/unbound_exporter
RUN go install github.com/letsencrypt/unbound_exporter@latest
RUN go install github.com/letsencrypt/[email protected]
RUN which unbound_exporter

FROM alpine:3.15
FROM alpine:3.15
COPY --from=builder /go/bin/unbound_exporter /bin/unbound_exporter
RUN chmod +x /bin/unbound_exporter
ENTRYPOINT ["/bin/unbound_exporter"]
Expand Down

0 comments on commit 95be236

Please sign in to comment.