From 2c2aa91f9fd699518b8343f2721c85af297a37ea Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Mon, 19 Oct 2015 09:55:27 -0700 Subject: [PATCH] fix test Dockerfile, use precompiled go Signed-off-by: Victor Vieux --- test/integration/Dockerfile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/test/integration/Dockerfile b/test/integration/Dockerfile index 8cebcd2fcb..6eb94403fb 100644 --- a/test/integration/Dockerfile +++ b/test/integration/Dockerfile @@ -4,19 +4,14 @@ FROM dockerswarm/dind:1.6.0 # Install dependencies. -RUN apt-get update && apt-get install -y --no-install-recommends \ - build-essential \ - file \ - git \ +RUN apt-get update && apt-get install -y --no-install-recommends git \ && apt-get clean && rm -rf /var/lib/apt/lists/* # Install golang ENV GO_VERSION 1.5 -RUN curl -sSL https://golang.org/dl/go${GO_VERSION}.src.tar.gz | tar -v -C /usr/local -xz \ - && mkdir -p /go/bin +RUN curl -sSL https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz | tar -v -C /usr/local -xz ENV PATH /go/bin:/usr/local/go/bin:$PATH ENV GOPATH /go -RUN cd /usr/local/go/src && ./make.bash --no-clean 2>&1 # Go dependencies RUN go get github.com/tools/godep