Fix the version of Go in the Dockerfile
This commit is contained in:
parent
c62927bc4a
commit
81fcd1f028
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue