diff --git a/quickstart/Dockerfile b/quickstart/Dockerfile index 4547a4b0..697ea85b 100644 --- a/quickstart/Dockerfile +++ b/quickstart/Dockerfile @@ -1,18 +1,14 @@ -FROM ubuntu:14.04 +FROM google/debian:wheezy MAINTAINER kyurtsever@google.com dengnan@google.com vmarmol@google.com # Get the lmctfy dependencies. -RUN apt-get update && apt-get upgrade -y -RUN apt-get install -y --force-yes pkg-config libprotobuf8 libapparmor1 -ADD http://storage.googleapis.com/cadvisor-bin/lmctfy/libre2.so.0.0.0 /usr/lib/libre2.so.0 +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 -# Clean up apt and other locations -RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* - EXPOSE 8080 ENTRYPOINT ["/usr/bin/cadvisor"]