Merge pull request #448 from tariq1890/fix_docker_label

Using the recommended label syntax for maintainer in Dockerfile.
This commit is contained in:
Björn Rabenstein 2018-08-28 15:00:45 +02:00 committed by GitHub
commit 1216062c28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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