Update cross-compiling Dockerfile to Go 1.6

This commit is contained in:
Jeff Mitchell 2016-02-17 17:09:01 -05:00
parent 2cb814aec9
commit 35d2976cae

View file

@ -10,7 +10,7 @@ RUN apt-get update -y && apt-get install --no-install-recommends -y -q \
git mercurial bzr \
&& rm -rf /var/lib/apt/lists/*
ENV GOVERSION 1.5.3
ENV GOVERSION 1.6
RUN mkdir /goroot && mkdir /gopath
RUN curl https://storage.googleapis.com/golang/go${GOVERSION}.linux-amd64.tar.gz \
| tar xvzf - -C /goroot --strip-components=1