From 9ff2b33ff15b40c8d1be4c12c15428c315ee0c5e Mon Sep 17 00:00:00 2001 From: Marcus Efraimsson Date: Mon, 29 Aug 2022 14:42:46 +0200 Subject: [PATCH] Chore: Fix prometheus docker block (#54388) --- devenv/docker/blocks/prometheus_random_data/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devenv/docker/blocks/prometheus_random_data/Dockerfile b/devenv/docker/blocks/prometheus_random_data/Dockerfile index 9f298774683..c4ebc8cb0ec 100644 --- a/devenv/docker/blocks/prometheus_random_data/Dockerfile +++ b/devenv/docker/blocks/prometheus_random_data/Dockerfile @@ -3,7 +3,7 @@ # Builder image, where we build the example. FROM golang:1.17 AS builder # Download prometheus/client_golang/examples/random first -RUN CGO_ENABLED=0 GOOS=linux go install -tags netgo -ldflags '-w' github.com/prometheus/client_golang/examples/random@latest +RUN CGO_ENABLED=0 GOOS=linux go install -tags netgo -ldflags '-w' github.com/prometheus/client_golang/examples/random@v1.12.2 # Final image. FROM scratch