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!
This commit is contained in:
Jordan Petridis 2020-01-21 15:29:01 +02:00 committed by GStreamer Merge Bot
parent df6ebdeaaf
commit 6fb7b6744c

View file

@ -9,7 +9,8 @@ ENV ErrorActionPreference='Stop'
COPY install_choco.ps1 C:\
RUN C:\install_choco.ps1
COPY install_toolchain.ps1 prepare_gst_env.ps1 C:\
COPY install_toolchain.ps1 C:\
RUN C:\install_toolchain.ps1
COPY prepare_gst_env.ps1 C:\
RUN C:\prepare_gst_env.ps1