3 FROM 'mcr.microsoft.com/windows/servercore:ltsc2019'
5 # Make sure any failure in PowerShell scripts is fatal
6 SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]
7 ENV ErrorActionPreference='Stop'
9 COPY install_choco.ps1 C:\
10 RUN C:\install_choco.ps1
12 RUN 'git config --global user.email "cirunner@gstreamer.freedesktop.org"; git config --global user.name "GStreamer CI system"'
14 COPY install_toolchain.ps1 C:\
15 RUN C:\install_toolchain.ps1
17 ARG DEFAULT_BRANCH="master"
19 COPY prepare_gst_env.ps1 C:\
20 RUN C:\prepare_gst_env.ps1
22 COPY prepare_cerbero_env.sh C:\
23 RUN C:\MinGW\msys\1.0\bin\bash.exe --login -c "C:/prepare_cerbero_env.sh"