Bump go version in Dockerfile

This commit is contained in:
Jeff Mitchell 2017-11-14 01:16:59 -05:00
parent 2f9ff5c062
commit f6cb7e9975

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.2
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