Merge pull request #1752 from dashpole/fix_builds

apt-get update, not apt-cache update
This commit is contained in:
David Ashpole 2017-09-07 11:09:24 -07:00 committed by GitHub
commit a2d3378b8a

View File

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