From 59c9f1ba88faf592b225274f69c5ef1e4ebacf82 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 9 Apr 2020 01:00:25 +0200 Subject: [PATCH] unix: update Dockerfile to Go 1.14.2 Go 1.14.2 fixes golang/go#37621 which allows the Go types to be generated properly again. Change-Id: I556c7dd37713d68ef6aad79adc33b2d227e8bbd3 Reviewed-on: https://go-review.googlesource.com/c/sys/+/227678 Run-TryBot: Tobias Klauser Reviewed-by: Matt Layher Reviewed-by: Ian Lance Taylor TryBot-Result: Gobot Gobot --- unix/linux/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/unix/linux/Dockerfile b/unix/linux/Dockerfile index d724d0d6..0cec8d79 100644 --- a/unix/linux/Dockerfile +++ b/unix/linux/Dockerfile @@ -18,10 +18,9 @@ RUN git clone --branch v5.6 --depth 1 https://kernel.googlesource.com/pub/scm/li RUN git clone --branch release/2.31/master --depth 1 git://sourceware.org/git/glibc.git # Get Go -# TODO: update to Go 1.14 once there is a minor release with https://golang.org/issue/37622 fixed. -ENV GOLANG_VERSION 1.13.9 +ENV GOLANG_VERSION 1.14.2 ENV GOLANG_DOWNLOAD_URL https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz -ENV GOLANG_DOWNLOAD_SHA256 f4ad8180dd0aaf7d7cda7e2b0a2bf27e84131320896d376549a7d849ecf237d7 +ENV GOLANG_DOWNLOAD_SHA256 6272d6e940ecb71ea5636ddb5fab3933e087c1356173c61f4a803895e947ebb3 RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \ && echo "$GOLANG_DOWNLOAD_SHA256 golang.tar.gz" | sha256sum -c - \