mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-05 16:47:27 -04:00
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 <tobias.klauser@gmail.com> Reviewed-by: Matt Layher <mdlayher@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
committed by
Tobias Klauser
parent
ea54a3c99b
commit
59c9f1ba88
@@ -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
|
RUN git clone --branch release/2.31/master --depth 1 git://sourceware.org/git/glibc.git
|
||||||
|
|
||||||
# Get Go
|
# 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.14.2
|
||||||
ENV GOLANG_VERSION 1.13.9
|
|
||||||
ENV GOLANG_DOWNLOAD_URL https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz
|
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 \
|
RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \
|
||||||
&& echo "$GOLANG_DOWNLOAD_SHA256 golang.tar.gz" | sha256sum -c - \
|
&& echo "$GOLANG_DOWNLOAD_SHA256 golang.tar.gz" | sha256sum -c - \
|
||||||
|
|||||||
Reference in New Issue
Block a user