We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8bb84c1 + 8977247 commit c0dfcd1Copy full SHA for c0dfcd1
Dockerfile
@@ -15,9 +15,9 @@ WORKDIR /go/src/github.com/prometheus/client_golang/examples/simple
15
RUN CGO_ENABLED=0 GOOS=linux go build -a -tags netgo -ldflags '-w'
16
17
# Final image.
18
-FROM prom/busybox
+FROM quay.io/prometheus/busybox:latest
19
LABEL maintainer="The Prometheus Authors <[email protected]>"
20
COPY --from=builder /go/src/github.com/prometheus/client_golang/examples/random \
21
/go/src/github.com/prometheus/client_golang/examples/simple ./
22
EXPOSE 8080
23
-CMD echo Please run an example. Either /random or /simple
+CMD ["echo", "Please run an example. Either /random or /simple"]
0 commit comments