From 8977247c4ef643398016b12d5eba9c46337167b8 Mon Sep 17 00:00:00 2001 From: Tariq Ibrahim Date: Tue, 30 Jul 2019 18:14:08 -0700 Subject: [PATCH] add minor Dockerfile improvements Signed-off-by: Tariq Ibrahim --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 211f22b..4da5f16 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,9 +15,9 @@ WORKDIR /go/src/github.com/prometheus/client_golang/examples/simple RUN CGO_ENABLED=0 GOOS=linux go build -a -tags netgo -ldflags '-w' # Final image. -FROM prom/busybox +FROM quay.io/prometheus/busybox:latest LABEL maintainer="The Prometheus Authors " COPY --from=builder /go/src/github.com/prometheus/client_golang/examples/random \ /go/src/github.com/prometheus/client_golang/examples/simple ./ EXPOSE 8080 -CMD echo Please run an example. Either /random or /simple +CMD ["echo", "Please run an example. Either /random or /simple"]