Skip to content

Commit 6d70437

Browse files
authored
Update Dockerfile
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
1 parent 0ad3156 commit 6d70437

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# curl $ip:$port/metrics
1313

1414
# Builder image, where we build the example.
15-
FROM golang:1@sha256:6fbd2d3398db924f8d708cf6e94bd3a436bb468195daa6a96e80504e0a9615f2 AS builder
15+
FROM golang:1 AS builder
1616
WORKDIR /go/src/github.com/prometheus/client_golang
1717
COPY . .
1818
WORKDIR /go/src/github.com/prometheus/client_golang/prometheus
@@ -25,7 +25,7 @@ WORKDIR /go/src/github.com/prometheus/client_golang/examples/gocollector
2525
RUN CGO_ENABLED=0 GOOS=linux go build -a -tags netgo -ldflags '-w'
2626

2727
# Final image.
28-
FROM quay.io/prometheus/busybox@sha256:dfa54ef35e438b9e71ac5549159074576b6382f95ce1a434088e05fd6b730bc4
28+
FROM quay.io/prometheus/busybox:latest
2929
LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>"
3030
COPY --from=builder /go/src/github.com/prometheus/client_golang/examples/random \
3131
/go/src/github.com/prometheus/client_golang/examples/simple \

0 commit comments

Comments
 (0)