Skip to content

Commit c0dfcd1

Browse files
authored
Merge pull request #628 from tariq1890/docker
add minor Dockerfile improvements
2 parents 8bb84c1 + 8977247 commit c0dfcd1

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
@@ -15,9 +15,9 @@ WORKDIR /go/src/github.com/prometheus/client_golang/examples/simple
1515
RUN CGO_ENABLED=0 GOOS=linux go build -a -tags netgo -ldflags '-w'
1616

1717
# Final image.
18-
FROM prom/busybox
18+
FROM quay.io/prometheus/busybox:latest
1919
LABEL maintainer="The Prometheus Authors <[email protected]>"
2020
COPY --from=builder /go/src/github.com/prometheus/client_golang/examples/random \
2121
/go/src/github.com/prometheus/client_golang/examples/simple ./
2222
EXPOSE 8080
23-
CMD echo Please run an example. Either /random or /simple
23+
CMD ["echo", "Please run an example. Either /random or /simple"]

0 commit comments

Comments
 (0)