From 4983f729b37058b46d431ea9eda1b094391e6da3 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 25 Feb 2020 18:17:21 +0100 Subject: [PATCH] Update to Go 1.13.8 This updates the image for Go 1.13. Note that the Apple SDK that is hosted on s3.mobyproject.org is an older version, which does not allow specifying the "minimum macOS version" to be 1.11 (the minimum version supported by Go 1.13). TODO comments were added to the Dockerfile to document this, and to update the version once an updated SDK is available. Signed-off-by: Sebastiaan van Stijn --- Dockerfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bf89b2e..9772e34 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,23 @@ -ARG GO_VERSION=1.12.17 +ARG GO_VERSION=1.13.8 # OS-X SDK parameters # NOTE: when changing version here, make sure to also change OSX_CODENAME below to match +# TODO Go 1.13 supports macOS 10.11 (el capitan) and higher. Update this to 10.11 SDK +# once an updated version of the SDK is available on s3.dockerproject.org ARG OSX_SDK=MacOSX10.10.sdk ARG OSX_SDK_SUM=631b4144c6bf75bf7a4d480d685a9b5bda10ee8d03dbf0db829391e2ef858789 # OSX-cross parameters. Go 1.11 requires OSX >= 10.10 +# TODO Go 1.13 supports macOS 10.11 (el capitan) and higher. Update this to 10.11 +# once an updated version of the SDK is available on s3.dockerproject.org ARG OSX_VERSION_MIN=10.10 ARG OSX_CROSS_COMMIT=a9317c18a3a457ca0a657f08cc4d0d43c6cf8953 # Libtool parameters ARG LIBTOOL_VERSION=2.4.6 + +# TODO Go 1.13 supports macOS 10.11 (el capitan) and higher. Update this to 'el_capitan' +# once an updated version of the SDK is available on s3.dockerproject.org ARG OSX_CODENAME=yosemite FROM golang:${GO_VERSION}-buster AS base