Dockerfile: use Go 1.5.3
Go 1.5.2 is known to have security vulnerabilities in the standard library. As such, we should use 1.5.3. Signed-off-by: Aleksa Sarai <asarai@suse.de>
This commit is contained in:
parent
f7a3546d96
commit
c4bf49630b
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ RUN apt-get update && apt-get install -y \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Install Go
|
# Install Go
|
||||||
ENV GO_VERSION 1.5.2
|
ENV GO_VERSION 1.5.3
|
||||||
RUN curl -sSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz" | tar -v -C /usr/local -xz
|
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 PATH /go/bin:/usr/local/go/bin:$PATH
|
||||||
ENV GOPATH /go:/go/src/github.com/docker/containerd/vendor
|
ENV GOPATH /go:/go/src/github.com/docker/containerd/vendor
|
||||||
|
|
Loading…
Reference in a new issue