Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
Merge pull request #211 from prometheus/superq/fix_dockerfile
Browse files Browse the repository at this point in the history
Fix Dockerfile
  • Loading branch information
SuperQ authored Mar 12, 2021
2 parents 747f2c3 + 218fa0f commit c178ee1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
ARG ARCH="amd64"
ARG OS="linux"
FROM quay.io/prometheus/busybox:latest
FROM quay.io/prometheus/busybox-${OS}-${ARCH}:latest
LABEL maintainer="The Prometheus Authors <[email protected]>"

ARG ARCH="amd64"
ARG OS="linux"
COPY .build/${OS}-${ARCH}/haproxy_exporter /bin/haproxy_exporter

USER nobody
ENTRYPOINT ["/bin/haproxy_exporter"]
EXPOSE 9101
EXPOSE 9101
USER nobody
ENTRYPOINT [ "/bin/haproxy_exporter" ]

0 comments on commit c178ee1

Please sign in to comment.