Better package cache cleanup

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
Steve Durrheimer 2015-04-14 09:36:34 +02:00
parent c44c81ebb0
commit 5a284257f0
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
FROM golang:1.4 FROM golang:1.4
MAINTAINER The Prometheus Authors <prometheus-developers@googlegroups.com> MAINTAINER The Prometheus Authors <prometheus-developers@googlegroups.com>
RUN apt-get -qy update && apt-get -qy install vim-common gcc mercurial && apt-get clean && \ RUN apt-get -qy update && apt-get -qy install vim-common gcc mercurial && rm -rf /var/lib/apt/lists/* && \
go get github.com/tools/godep go get github.com/tools/godep
WORKDIR /go/src/github.com/prometheus/prometheus WORKDIR /go/src/github.com/prometheus/prometheus