13 lines
361 B
Docker
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"]
|