-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
53559a4
commit 3e63f43
Showing
1 changed file
with
8 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,23 +2,17 @@ | |
|
||
FROM opensuse/leap:15.2 | ||
|
||
RUN zypper --gpg-auto-import-keys refresh | ||
RUN zypper rr 2 | ||
RUN zypper rr 1 | ||
RUN zypper clean --all | ||
RUN zypper ref | ||
|
||
RUN zypper addrepo https://download.opensuse.org/repositories/home:Marco-GmbH:nodejs:nodejs18/openSUSE_Leap_15.2_Update/home:Marco-GmbH:nodejs:nodejs18.repo | ||
RUN zypper --gpg-auto-import-keys refresh -f | ||
|
||
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 | ||
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 | ||
#RUN n 14.17.5 | ||
RUN zypper install -y --force-resolution nodejs18 npm | ||
|
||
RUN npm install -g [email protected] | ||
|
||
|