From a31181883376181502741ca5968e59cf8c35aab6 Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Fri, 21 Jun 2024 17:02:25 +0200 Subject: [PATCH] Fix network timeout for yarn --- images/c/ToolDockerfile | 2 +- images/java-17/ToolDockerfile | 2 +- images/ocaml/ToolDockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/images/c/ToolDockerfile b/images/c/ToolDockerfile index c9b0ea751..7839c8b9a 100644 --- a/images/c/ToolDockerfile +++ b/images/c/ToolDockerfile @@ -18,7 +18,7 @@ COPY images/c/package.json . # Remove unnecesarry files for the browser application # Download plugins and build application production mode # Use yarn autoclean to remove unnecessary files from package dependencies -RUN yarn --pure-lockfile && \ +RUN yarn --pure-lockfile --network-timeout 1000000 && \ yarn download:plugins # Assemble the application diff --git a/images/java-17/ToolDockerfile b/images/java-17/ToolDockerfile index 14e470b14..af52b04e9 100644 --- a/images/java-17/ToolDockerfile +++ b/images/java-17/ToolDockerfile @@ -18,7 +18,7 @@ COPY images/java-17/package.json . # Remove unnecesarry files for the browser application # Download plugins and build application production mode # Use yarn autoclean to remove unnecessary files from package dependencies -RUN yarn --pure-lockfile && \ +RUN yarn --pure-lockfile --network-timeout 1000000 && \ yarn download:plugins # Assemble the application diff --git a/images/ocaml/ToolDockerfile b/images/ocaml/ToolDockerfile index 7082c879e..e04ea1ffd 100644 --- a/images/ocaml/ToolDockerfile +++ b/images/ocaml/ToolDockerfile @@ -26,7 +26,7 @@ COPY images/ocaml/package.json . # Remove unnecesarry files for the browser application # Download plugins and build application production mode # Use yarn autoclean to remove unnecessary files from package dependencies -RUN yarn --pure-lockfile && \ +RUN yarn --pure-lockfile --network-timeout 1000000 && \ yarn download:plugins # Assemble the application