mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
6fb7b6744c
This results into more docker layers, but it avoid invalidating the previous layers when changing anything in the script, making build times faster. Adapted from patches by Xavier Claessens!
16 lines
390 B
Docker
16 lines
390 B
Docker
# escape=`
|
|
|
|
FROM 'mcr.microsoft.com/windows/servercore:1809'
|
|
|
|
# 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
|
|
|
|
COPY prepare_gst_env.ps1 C:\
|
|
RUN C:\prepare_gst_env.ps1
|