mirror of
https://github.com/prometheus/mysqld_exporter.git
synced 2025-04-18 09:24:02 +03:00
Fix Dockerfile
Use the correct busybox arch image so that docker-manifest picks up the correct arch. Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
parent
9a43c02fa1
commit
741dcfd180
@ -1,12 +1,12 @@
|
||||
ARG ARCH="amd64"
|
||||
ARG OS="linux"
|
||||
FROM quay.io/prometheus/busybox:latest
|
||||
LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>"
|
||||
FROM quay.io/prometheus/busybox-${OS}-${ARCH}:latest
|
||||
LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>"
|
||||
|
||||
ARG ARCH="amd64"
|
||||
ARG OS="linux"
|
||||
COPY .build/${OS}-${ARCH}/mysqld_exporter /bin/mysqld_exporter
|
||||
|
||||
USER nobody
|
||||
EXPOSE 9104
|
||||
USER nobody
|
||||
ENTRYPOINT [ "/bin/mysqld_exporter" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user