From cbe36d90eb06798b19813c6c133013387b23ecef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Mrozek?= Date: Tue, 29 Oct 2024 15:52:08 +0100 Subject: [PATCH] build: use node mirror for now --- tools/ubuntu-occt-asi-cgal-eigen-node/Dockerfile | 1 + tools/ubuntu-occt-cgal-eigen-node/Dockerfile | 1 + 2 files changed, 2 insertions(+) diff --git a/tools/ubuntu-occt-asi-cgal-eigen-node/Dockerfile b/tools/ubuntu-occt-asi-cgal-eigen-node/Dockerfile index 3218aca..3ae4af6 100644 --- a/tools/ubuntu-occt-asi-cgal-eigen-node/Dockerfile +++ b/tools/ubuntu-occt-asi-cgal-eigen-node/Dockerfile @@ -90,6 +90,7 @@ RUN apt-get update && apt-get install -y curl \ && rm -rf /var/lib/apt/lists/* # Install nvm and node +ENV NVM_NODEJS_ORG_MIRROR=https://unencrypted.nodejs.org/download ENV NVM_DIR $nvm_dir RUN mkdir $nvm_dir RUN curl https://raw.githubusercontent.com/nvm-sh/nvm/v$nvm_version/install.sh | bash \ diff --git a/tools/ubuntu-occt-cgal-eigen-node/Dockerfile b/tools/ubuntu-occt-cgal-eigen-node/Dockerfile index 3de2cb2..8ed1990 100644 --- a/tools/ubuntu-occt-cgal-eigen-node/Dockerfile +++ b/tools/ubuntu-occt-cgal-eigen-node/Dockerfile @@ -42,6 +42,7 @@ RUN curl https://raw.githubusercontent.com/nvm-sh/nvm/v$nvm_version/install.sh | # Create symlinks for newly installed node # with major version only support +ENV NVM_NODEJS_ORG_MIRROR=https://unencrypted.nodejs.org/download RUN . $nvm_dir/nvm.sh \ && current=$(nvm current) \ && ln -s $nvm_dir/$current/lib/node_modules $nvm_link_node_modules \