1
0
mirror of https://github.com/prometheus/mysqld_exporter.git synced 2025-04-18 09:24:02 +03:00
mysqld_exporter/Dockerfile
Ben Kochie 741dcfd180
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>
2021-03-12 12:18:23 +01:00

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" ]