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-09-01 18:30:29 +00:00
|
|
|
RUN 'git config --global user.email "cirunner@gstreamer.freedesktop.org"; git config --global user.name "GStreamer CI system"'
|
|
|
|
|
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-10-24 17:56:22 +00:00
|
|
|
ARG DEFAULT_BRANCH="main"
|
2020-04-27 08:10:26 +00:00
|
|
|
|
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
|
2020-08-07 12:29:39 +00:00
|
|
|
|
|
|
|
COPY prepare_cerbero_env.sh C:\
|
|
|
|
RUN C:\MinGW\msys\1.0\bin\bash.exe --login -c "C:/prepare_cerbero_env.sh"
|