Skip to content

Commit

Permalink
Install a node 20 built against GLibc 2.17 for Centos 7.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Flamefire committed Dec 2, 2024
1 parent b5c1359 commit f15872a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions centos-7.9-python3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ RUN yum -y install epel-release && yum -y install python3 python3-pip Lmod
RUN yum -y install bzip2 curl diffutils file gcc-c++ git gzip make openssl openssl-devel rdma-core-devel patch sudo tar unzip which xz
RUN yum -y update ca-certificates
RUN python3 -m pip install archspec
# Usable Node 20 required for GitHub actions. The one from GitHub doesn't work with this containers GLibc
curl -sL https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz | tar -xJ --strip-components 1 -C /node20217
2 changes: 2 additions & 0 deletions centos-7.9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ RUN yum -y install bzip2 curl diffutils file gcc-c++ git gzip make openssl opens
RUN yum -y update ca-certificates
# In order to install archspec we need to upgrade pip to latest version for Python 2
RUN python -m pip install --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org --upgrade 'pip<21' && python -m pip install archspec
# Usable Node 20 required for GitHub actions. The one from GitHub doesn't work with this containers GLibc
RUN curl -sL https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz | tar -xJ --strip-components 1 -C /node20217

0 comments on commit f15872a

Please sign in to comment.