From 22c64fabd1f9f79f6ef7a6f445249f7dc6ea0895 Mon Sep 17 00:00:00 2001 From: Lukas Prettenthaler Date: Mon, 15 Jan 2024 06:50:07 -0700 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5c05d7c..3f6ff1d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM golang:1.21-alpine3.18 +FROM golang:1.21-alpine3.19 WORKDIR /go/src/github.com/nats-io/prometheus-nats-exporter RUN apk add --no-cache --purge --clean-protected -u git \ - && git clone --branch v0.13.0 https://github.com/nats-io/prometheus-nats-exporter.git . \ + && git clone --branch v0.14.0 https://github.com/nats-io/prometheus-nats-exporter.git . \ && CGO_ENABLED=0 go build -v -a -tags netgo -installsuffix netgo -ldflags "-s -w" FROM scratch