cadvisor/deploy/Dockerfile
Victor Marmol 93754d77ee Make cAdvisor Dockerimage much smaller.
Remove old Dockerfiles for deployment and create a new one that only
includes the statically linked binaries we need. This creates an image
that is ~22MB in size.
2014-07-16 10:01:00 -07:00

12 lines
281 B
Docker

FROM scratch
MAINTAINER dengnan@google.com vmarmol@google.com
# NOTE: Run prepare.sh before building this Docker image.
# Grab lmctfy and cadvisor from the staging directory.
ADD lmctfy /usr/bin/lmctfy
ADD cadvisor /usr/bin/cadvisor
EXPOSE 8080
ENTRYPOINT ["/usr/bin/cadvisor"]