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

Commit

Permalink
Fix Dockerfile
Browse files Browse the repository at this point in the history
Use the correct busybox arch image so that docker-manifest picks up the
correct arch.

Fixes: #209

Signed-off-by: Ben Kochie <[email protected]>
  • Loading branch information
SuperQ committed Mar 12, 2021
1 parent 747f2c3 commit 218fa0f
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 218fa0f

Please sign in to comment.