mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -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.
|
# Builder image, where we build the example.
|
||||||
FROM golang:1.17 AS builder
|
FROM golang:1.17 AS builder
|
||||||
# Download prometheus/client_golang/examples/random first
|
# 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.
|
# Final image.
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
Loading…
Reference in New Issue
Block a user