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

Fix Dockerfile #211

Merged
merged 1 commit into from
Mar 12, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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" ]