From c308f1976c1c27b91a182d816edf5cc9af34d118 Mon Sep 17 00:00:00 2001 From: Tobias Klein Date: Sun, 10 Nov 2024 16:10:32 +0100 Subject: [PATCH] Install node from source on OpenSuse --- docker/OpenSuseLeap_Dockerfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docker/OpenSuseLeap_Dockerfile b/docker/OpenSuseLeap_Dockerfile index 48302a9..ff997b2 100644 --- a/docker/OpenSuseLeap_Dockerfile +++ b/docker/OpenSuseLeap_Dockerfile @@ -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 electron-installer-redhat@3.3.0