mirror of
https://github.com/prometheus/mysqld_exporter.git
synced 2025-04-18 09:24:02 +03:00
Use the correct busybox arch image so that docker-manifest picks up the correct arch. Signed-off-by: Ben Kochie <superq@gmail.com>
13 lines
340 B
Docker
13 lines
340 B
Docker
ARG ARCH="amd64"
|
|
ARG OS="linux"
|
|
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
|
|
|
|
EXPOSE 9104
|
|
USER nobody
|
|
ENTRYPOINT [ "/bin/mysqld_exporter" ]
|