From 6fb7b6744c5055fa781cb8656df74b7fd0aa01f1 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Tue, 21 Jan 2020 15:29:01 +0200 Subject: [PATCH] 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! --- docker/windows/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/windows/Dockerfile b/docker/windows/Dockerfile index 5d8d101fc3..580ab2e239 100644 --- a/docker/windows/Dockerfile +++ b/docker/windows/Dockerfile @@ -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