Fix the version of Go in the Dockerfile

This commit is contained in:
Jeff Mitchell 2018-02-26 18:34:14 -05:00
parent c62927bc4a
commit 81fcd1f028
1 changed files with 1 additions and 1 deletions

View File

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