Codebase list prometheus-haproxy-exporter / 218fa0f
Fix Dockerfile Use the correct busybox arch image so that docker-manifest picks up the correct arch. Fixes: https://github.com/prometheus/haproxy_exporter/issues/209 Signed-off-by: Ben Kochie <superq@gmail.com> Ben Kochie 3 years ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
00 ARG ARCH="amd64"
11 ARG OS="linux"
2 FROM quay.io/prometheus/busybox:latest
2 FROM quay.io/prometheus/busybox-${OS}-${ARCH}:latest
33 LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>"
44
55 ARG ARCH="amd64"
66 ARG OS="linux"
77 COPY .build/${OS}-${ARCH}/haproxy_exporter /bin/haproxy_exporter
88
9 USER nobody
10 ENTRYPOINT ["/bin/haproxy_exporter"]
11 EXPOSE 9101
9 EXPOSE 9101
10 USER nobody
11 ENTRYPOINT [ "/bin/haproxy_exporter" ]