Skip to content

Commit 741dcfd

Browse files
committed
Fix Dockerfile
Use the correct busybox arch image so that docker-manifest picks up the correct arch. Signed-off-by: Ben Kochie <[email protected]>
1 parent 9a43c02 commit 741dcfd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
ARG ARCH="amd64"
22
ARG OS="linux"
3-
FROM quay.io/prometheus/busybox:latest
4-
LABEL maintainer="The Prometheus Authors <[email protected]>"
3+
FROM quay.io/prometheus/busybox-${OS}-${ARCH}:latest
4+
LABEL maintainer="The Prometheus Authors <[email protected]>"
55

66
ARG ARCH="amd64"
77
ARG OS="linux"
88
COPY .build/${OS}-${ARCH}/mysqld_exporter /bin/mysqld_exporter
99

10-
USER nobody
1110
EXPOSE 9104
11+
USER nobody
1212
ENTRYPOINT [ "/bin/mysqld_exporter" ]

0 commit comments

Comments
 (0)