cadvisor/quickstart/Dockerfile
Johan Euphrosine 63057f7441 quickstart/Dockerfile: cleanup
switch to google/debian:wheezy / libprotobuf7
remove apt-get upgrade (you should rely on the base image being updated)
add --no-install-recommends
remove cleanup at the end (it doesn't save space, as the file already are in previous layers)
2014-06-12 01:17:19 -07:00

15 lines
622 B
Docker

FROM google/debian:wheezy
MAINTAINER kyurtsever@google.com dengnan@google.com vmarmol@google.com
# Get the lmctfy dependencies.
RUN apt-get update && apt-get install -y -q --no-install-recommends pkg-config libprotobuf8 libapparmor1
# Get the lcmtfy and cAdvisor binaries.
ADD http://storage.googleapis.com/cadvisor-bin/lmctfy/lmctfy /usr/bin/lmctfy
ADD http://storage.googleapis.com/cadvisor-bin/lmctfy/libre2.so.0.0.0 /usr/lib/libre2.so.0
ADD http://storage.googleapis.com/cadvisor-bin/cadvisor /usr/bin/cadvisor
RUN chmod +x /usr/bin/lmctfy && chmod +x /usr/bin/cadvisor
EXPOSE 8080
ENTRYPOINT ["/usr/bin/cadvisor"]