clean after apt-get install

This commit is contained in:
David Ashpole 2017-09-06 16:45:35 -07:00
parent bed4ed57dc
commit 08136d0a3c

View File

@ -1,7 +1,7 @@
FROM golang:latest FROM golang:latest
MAINTAINER vmarmol@google.com MAINTAINER vmarmol@google.com
RUN apt-cache update && apt-get clean && apt-get install -y git dmsetup RUN apt-cache update && apt-get install -y git dmsetup && apt-get clean
RUN git clone https://github.com/google/cadvisor.git /go/src/github.com/google/cadvisor RUN git clone https://github.com/google/cadvisor.git /go/src/github.com/google/cadvisor
RUN cd /go/src/github.com/google/cadvisor && make RUN cd /go/src/github.com/google/cadvisor && make