Skip to content

Commit

Permalink
build: use node mirror for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Michsior14 committed Oct 29, 2024
1 parent 50a085f commit cbe36d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/ubuntu-occt-asi-cgal-eigen-node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
1 change: 1 addition & 0 deletions tools/ubuntu-occt-cgal-eigen-node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit cbe36d9

Please sign in to comment.