Skip to content

Commit

Permalink
Install node from source on OpenSuse
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-klein committed Nov 10, 2024
1 parent c06c025 commit c308f19
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docker/OpenSuseLeap_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ RUN zypper --gpg-auto-import-keys refresh
RUN zypper install -y sudo gcc-c++ make vim git subversion cmake nodejs nodejs-devel npm rpm-build unzip curl
RUN zypper install -y libcurl-devel libicu-devel sqlite3-devel zlib-devel

# Install node 18.18.0
RUN npm install -g n
RUN n 18.18.0
RUN wget https://nodejs.org/dist/v18.18.0/node-v18.18.0.tar.gz
RUN tar xvfz node-v18.18.0.tar.gz
RUN cd node-v18.18.0 && ./configure && make && make install

# Install node 14.17.5
#RUN npm install -g n
#RUN n 14.17.5

RUN npm install -g [email protected]

Expand Down

0 comments on commit c308f19

Please sign in to comment.