mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
b8fa6db873
also move the default_branch arg later in the dockerfile to avoid invalidating previous layers Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/287>
18 lines
423 B
Docker
18 lines
423 B
Docker
# escape=`
|
|
|
|
FROM 'mcr.microsoft.com/windows/servercore:ltsc2019'
|
|
|
|
# Make sure any failure in PowerShell scripts is fatal
|
|
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]
|
|
ENV ErrorActionPreference='Stop'
|
|
|
|
COPY install_choco.ps1 C:\
|
|
RUN C:\install_choco.ps1
|
|
|
|
COPY install_toolchain.ps1 C:\
|
|
RUN C:\install_toolchain.ps1
|
|
|
|
ARG DEFAULT_BRANCH="master"
|
|
|
|
COPY prepare_gst_env.ps1 C:\
|
|
RUN C:\prepare_gst_env.ps1
|