File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 12
12
# curl $ip:$port/metrics
13
13
14
14
# Builder image, where we build the example.
15
- FROM golang:1@sha256:6fbd2d3398db924f8d708cf6e94bd3a436bb468195daa6a96e80504e0a9615f2 AS builder
15
+ FROM golang:1 AS builder
16
16
WORKDIR /go/src/github.com/prometheus/client_golang
17
17
COPY . .
18
18
WORKDIR /go/src/github.com/prometheus/client_golang/prometheus
@@ -25,7 +25,7 @@ WORKDIR /go/src/github.com/prometheus/client_golang/examples/gocollector
25
25
RUN CGO_ENABLED=0 GOOS=linux go build -a -tags netgo -ldflags '-w'
26
26
27
27
# Final image.
28
- FROM quay.io/prometheus/busybox@sha256:dfa54ef35e438b9e71ac5549159074576b6382f95ce1a434088e05fd6b730bc4
28
+ FROM quay.io/prometheus/busybox:latest
29
29
LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>"
30
30
COPY --from=builder /go/src/github.com/prometheus/client_golang/examples/random \
31
31
/go/src/github.com/prometheus/client_golang/examples/simple \
You can’t perform that action at this time.
0 commit comments