gstreamer/docker/windows/Dockerfile
Jordan Petridis 6fb7b6744c docker/windows: copy the install scripts just before running them
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!
2020-01-29 17:39:46 +00:00

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