Merge pull request #448 from tariq1890/fix_docker_label
Using the recommended label syntax for maintainer in Dockerfile.
This commit is contained in:
commit
1216062c28
|
@ -16,7 +16,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -a -tags netgo -ldflags '-w'
|
||||||
|
|
||||||
# Final image.
|
# Final image.
|
||||||
FROM prom/busybox
|
FROM prom/busybox
|
||||||
LABEL maintainer "The Prometheus Authors <prometheus-developers@googlegroups.com>"
|
LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>"
|
||||||
COPY --from=builder /go/src/github.com/prometheus/client_golang/examples/random \
|
COPY --from=builder /go/src/github.com/prometheus/client_golang/examples/random \
|
||||||
/go/src/github.com/prometheus/client_golang/examples/simple ./
|
/go/src/github.com/prometheus/client_golang/examples/simple ./
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
Loading…
Reference in New Issue