diff options
author | Johannes Würbach <johannes.wuerbach@googlemail.com> | 2019-04-15 17:36:25 +0200 |
---|---|---|
committer | Ben Kochie <superq@gmail.com> | 2019-04-15 17:36:25 +0200 |
commit | 4e5c4d464fa67e9cdfd9858d2151bc99603b2bff (patch) | |
tree | 2036049ad82104e2e1f45ff791a15e77a0e7ad8a /Dockerfile | |
parent | e71e9f5a2fea95f19f7740c8c97861bb6ef94337 (diff) | |
download | prometheus_node_collector-4e5c4d464fa67e9cdfd9858d2151bc99603b2bff.tar.bz2 prometheus_node_collector-4e5c4d464fa67e9cdfd9858d2151bc99603b2bff.tar.xz prometheus_node_collector-4e5c4d464fa67e9cdfd9858d2151bc99603b2bff.zip |
Docker images for ARM32v7, ARM64v8 and ppc64le (#1207)
Build and publish ARM32v7, ARM64v8 and ppc64le docker images.
Signed-off-by: Johannes Würbach <johannes.wuerbach@googlemail.com>
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,11 @@ | |||
1 | FROM quay.io/prometheus/busybox:glibc | 1 | ARG ARCH="amd64" |
2 | ARG OS="linux" | ||
3 | FROM quay.io/prometheus/busybox-${OS}-${ARCH}:glibc | ||
2 | LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>" | 4 | LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>" |
3 | 5 | ||
4 | COPY node_exporter /bin/node_exporter | 6 | ARG ARCH="amd64" |
7 | ARG OS="linux" | ||
8 | COPY .build/${OS}-${ARCH}/node_exporter /bin/node_exporter | ||
5 | 9 | ||
6 | EXPOSE 9100 | 10 | EXPOSE 9100 |
7 | USER nobody | 11 | USER nobody |