Merge pull request #5 from JasonSwindle/patch-3
Clean-up and making ENTRYPOINT preferred form...
This commit is contained in:
commit
d5f9cbc890
@ -11,5 +11,8 @@ ADD http://storage.googleapis.com/cadvisor-bin/lmctfy/lmctfy /usr/bin/lmctfy
|
|||||||
ADD http://storage.googleapis.com/cadvisor-bin/cadvisor /usr/bin/cadvisor
|
ADD http://storage.googleapis.com/cadvisor-bin/cadvisor /usr/bin/cadvisor
|
||||||
RUN chmod +x /usr/bin/lmctfy && chmod +x /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
|
EXPOSE 8080
|
||||||
ENTRYPOINT /usr/bin/cadvisor
|
ENTRYPOINT ["/usr/bin/cadvisor"]
|
||||||
|
Loading…
Reference in New Issue
Block a user