diff --git a/images/Dockerfile-exporter b/images/Dockerfile-exporter index e080190..7f8e698 100644 --- a/images/Dockerfile-exporter +++ b/images/Dockerfile-exporter @@ -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/unbound_exporter@v0.4.1 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"]