mirror of
https://github.com/grafana/grafana.git
synced 2024-12-30 10:47:30 -06:00
Chore: Fix prometheus docker block (#54388)
This commit is contained in:
parent
990f673202
commit
9ff2b33ff1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user