Skip to content

Commit

Permalink
docker: update nodjs to latest install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout committed Nov 1, 2023
1 parent 306e975 commit 9154529
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/Dockerfile.nvidia
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ RUN if [ "$ver" = "nvhpc" ]; then \
apt-get install --allow-unauthenticated -y -q ./nvhpc_${year}.${minor}_amd64.deb; \
fi;

RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - && \
# Nodejs https://github.com/nodesource/distributions
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --yes --dearmor -o /etc/apt/keyrings/nodesource.gpg
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
RUN apt update && apt-get install -y -q \
apt-get install -y -q \
liblapack-dev libblas-dev \
libibverbs-dev libmlx4-1 libmlx5-1 ibutils \
Expand Down

0 comments on commit 9154529

Please sign in to comment.