Skip to content

Commit

Permalink
Install node.js 20 for Centos7 (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinji-IkariG authored Apr 19, 2024
1 parent 5806b24 commit 68b0e1b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,9 @@ RUN if [ "$(uname -m)" = "x86_64" ]; then \
fi \
&& chmod +x mc \
&& mv mc /usr/local/bin/

# Install Node.js
RUN cd /usr/src && \
wget https://unofficial-builds.nodejs.org/download/release/v20.12.1/node-v20.12.1-linux-x64-glibc-217.tar.gz && \
tar -zxf node-v20.12.1-linux-x64-glibc-217.tar.gz --strip-components=1 -C /usr/local/ && \
rm node-v20.12.1-linux-x64-glibc-217.tar.gz

0 comments on commit 68b0e1b

Please sign in to comment.