From 95be236b68fc376547de4f5694b4920a39076161 Mon Sep 17 00:00:00 2001 From: Tomas Hulata Date: Thu, 10 Aug 2023 10:32:26 +0200 Subject: [PATCH] fix exporter build --- images/Dockerfile-exporter | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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"]