diff --git a/Dockerfile b/Dockerfile index 8bfd269..bd8f318 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 " 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" ]