Merge pull request #10 from proppy/master

quickstart/Dockerfile: cleanup
This commit is contained in:
Victor Marmol 2014-06-12 08:49:30 -07:00
commit d776c6f4b5

View File

@ -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"]