Skip to content

Commit

Permalink
Install newer gcc in OpenSuse 15.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-klein committed Nov 10, 2024
1 parent 3deb6db commit 53559a4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docker/OpenSuseLeap_Dockerfile
Original file line number Diff line number Diff line change
@@ -7,9 +7,14 @@ RUN zypper --gpg-auto-import-keys refresh
RUN zypper install -y sudo gcc-c++ make vim git subversion cmake rpm-build unzip curl wget
RUN zypper install -y libcurl-devel libicu-devel sqlite3-devel zlib-devel

RUN wget https://cdn.opensuse.org/update/leap/15.2/oss_debug/x86_64/gcc10-obj-c++-debuginfo-10.2.1+git583-lp152.4.1.x86_64.rpm
RUN rpm -i gcc10-obj-c++-debuginfo-10.2.1+git583-lp152.4.1.x86_64.rpm

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
RUN cd node-v18.18.0 && ./configure
RUN cd node-v18.18.0 && make
RUN cd node-v18.18.0 && make install

# Install node 14.17.5
#RUN npm install -g n

0 comments on commit 53559a4

Please sign in to comment.