Clean fetched package cache

To further reduce image size
This commit is contained in:
Sam 2015-02-11 11:23:35 +11:00
parent fd9ee9b009
commit ddc065b943
1 changed files with 1 additions and 1 deletions

View File

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