2018-11-25 18:38:06 +00:00
|
|
|
# escape=`
|
|
|
|
|
2020-04-07 11:45:08 +00:00
|
|
|
FROM 'mcr.microsoft.com/windows/servercore:ltsc2019'
|
2018-11-25 18:38:06 +00:00
|
|
|
|
|
|
|
# Make sure any failure in PowerShell scripts is fatal
|
|
|
|
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]
|
2019-12-04 22:52:45 +00:00
|
|
|
ENV ErrorActionPreference='Stop'
|
2018-11-25 18:38:06 +00:00
|
|
|
|
2020-01-21 13:27:19 +00:00
|
|
|
COPY install_choco.ps1 C:\
|
|
|
|
RUN C:\install_choco.ps1
|
2019-07-01 15:55:46 +00:00
|
|
|
|
2020-01-21 13:29:01 +00:00
|
|
|
COPY install_toolchain.ps1 C:\
|
2019-07-01 15:55:46 +00:00
|
|
|
RUN C:\install_toolchain.ps1
|
|
|
|
|
2020-04-27 08:10:26 +00:00
|
|
|
ARG DEFAULT_BRANCH="master"
|
|
|
|
|
2020-01-21 13:29:01 +00:00
|
|
|
COPY prepare_gst_env.ps1 C:\
|
2019-12-02 16:23:27 +00:00
|
|
|
RUN C:\prepare_gst_env.ps1
|