|
@@ -158,10 +158,12 @@ FROM microsoft/windowsservercore
|
|
# Use PowerShell as the default shell
|
|
# Use PowerShell as the default shell
|
|
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
|
|
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
|
|
|
|
|
|
|
|
+ARG GO_VERSION=1.11.12
|
|
|
|
+
|
|
# Environment variable notes:
|
|
# Environment variable notes:
|
|
# - GO_VERSION must be consistent with 'Dockerfile' used by Linux.
|
|
# - GO_VERSION must be consistent with 'Dockerfile' used by Linux.
|
|
# - FROM_DOCKERFILE is used for detection of building within a container.
|
|
# - FROM_DOCKERFILE is used for detection of building within a container.
|
|
-ENV GO_VERSION=1.11.12 `
|
|
|
|
|
|
+ENV GO_VERSION=${GO_VERSION} `
|
|
GIT_VERSION=2.11.1 `
|
|
GIT_VERSION=2.11.1 `
|
|
GOPATH=C:\go `
|
|
GOPATH=C:\go `
|
|
FROM_DOCKERFILE=1
|
|
FROM_DOCKERFILE=1
|