cadvisor-multi-arch/Dockerfile
Ian Fijolek d3de286c55
Some checks failed
continuous-integration/drone/push Build is failing
Try go get builds set up
2020-07-14 10:16:13 -07:00

13 lines
361 B
Docker

ARG REPO=library
FROM multiarch/qemu-user-static:4.2.0-2 as qemu-user-static
FROM ${REPO}/alpine:3.10
# Copying all qemu files because amd64 doesn't exist and cannot condional copy
COPY --from=qemu-user-static /usr/bin/qemu-* /usr/bin/
ARG GOARCH=amd64
COPY ./cadvisor-${GOARCH} /usr/bin/cadvisor
EXPOSE 8080
ENTRYPOINT ["/usr/bin/cadvisor", "-logtostderr"]