Skip to content

Commit

Permalink
Upgrade node to 18.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-klein committed Nov 10, 2024
1 parent 307b351 commit 2d31aa7
Show file tree
Hide file tree
Showing 18 changed files with 47 additions and 47 deletions.
6 changes: 3 additions & 3 deletions docker/BullsEye_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ RUN apt-get update
RUN apt-get install -y dialog apt-utils build-essential libsword-dev libsqlite3-0 libcurl4-gnutls-dev libicu-dev zlib1g-dev \
pkg-config icu-devtools subversion git vim sudo curl python3-software-properties cmake

RUN curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
RUN curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
RUN apt-get update
RUN apt-get install -y nodejs

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

RUN npm install -g electron-packager
RUN npm install -g electron-installer-debian
Expand Down
6 changes: 3 additions & 3 deletions docker/Buster_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ RUN apt-get update
RUN apt-get install -y dialog apt-utils build-essential libsword-dev libsqlite3-0 libcurl4-gnutls-dev libicu-dev zlib1g-dev \
pkg-config icu-devtools subversion git vim sudo curl python3-software-properties cmake

RUN curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
RUN curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
RUN apt-get update
RUN apt-get install -y nodejs

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

RUN npm install -g electron-packager
RUN npm install -g electron-installer-debian
Expand Down
4 changes: 2 additions & 2 deletions docker/CentOS8_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ RUN yum update -y
RUN yum install -y sudo
RUN yum install -y nodejs

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

RUN yum -y install epel-release
RUN dnf group install -y "Development Tools"
Expand Down
6 changes: 3 additions & 3 deletions docker/Debian12_Bookworm_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ RUN apt-get install -y libssl-dev libbz2-dev \
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \
xz-utils tk-dev libffi-dev liblzma-dev

RUN curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
RUN curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
RUN apt-get update
RUN apt-get install -y nodejs npm

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

RUN npm install -g electron-packager
RUN npm install -g electron-installer-debian
Expand Down
6 changes: 3 additions & 3 deletions docker/Fedora31_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ ARG HOST_USER
RUN yum update -y
RUN yum install -y sudo

RUN curl -sL https://rpm.nodesource.com/setup_14.x | sudo -E bash -
RUN curl -sL https://rpm.nodesource.com/setup_18.x | sudo -E bash -
RUN yum install -y gcc-c++ make nodejs vim git
RUN yum install -y sword-devel libsqlite3x-devel.x86_64 libicu-devel libcurl-devel zlib-devel subversion cmake unzip

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

RUN npm install -g [email protected]
RUN yum install -y rpm-build
Expand Down
6 changes: 3 additions & 3 deletions docker/Fedora32_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ ARG HOST_USER
RUN yum update -y
RUN yum install -y sudo

RUN curl -sL https://rpm.nodesource.com/setup_14.x | sudo -E bash -
RUN curl -sL https://rpm.nodesource.com/setup_18.x | sudo -E bash -
RUN yum install -y gcc-c++ make nodejs vim git
RUN yum install -y sword-devel libsqlite3x-devel.x86_64 libicu-devel libcurl-devel subversion cmake unzip

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

RUN npm install -g [email protected]
RUN yum install -y rpm-build
Expand Down
6 changes: 3 additions & 3 deletions docker/Fedora33_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ ARG HOST_USER
RUN yum update -y
RUN yum install -y sudo

RUN curl -sL https://rpm.nodesource.com/setup_14.x | sudo -E bash -
RUN curl -sL https://rpm.nodesource.com/setup_18.x | sudo -E bash -
RUN yum install -y gcc-c++ make nodejs vim git
RUN yum install -y sword-devel libsqlite3x-devel.x86_64 libicu-devel libcurl-devel zlib-devel subversion cmake unzip

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

RUN npm install -g [email protected]
RUN yum install -y rpm-build
Expand Down
6 changes: 3 additions & 3 deletions docker/Fedora35_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ ARG HOST_USER
RUN yum update -y
RUN yum install -y sudo

RUN curl -sL https://rpm.nodesource.com/setup_14.x | sudo -E bash -
RUN curl -sL https://rpm.nodesource.com/setup_18.x | sudo -E bash -
RUN yum install -y gcc-c++ make nodejs vim git
RUN yum install -y sword-devel libsqlite3x-devel.x86_64 libicu-devel libcurl-devel zlib-devel subversion cmake unzip

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

RUN npm install -g [email protected]
RUN yum install -y rpm-build
Expand Down
4 changes: 2 additions & 2 deletions docker/Fedora37_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ RUN curl -sL https://rpm.nodesource.com/setup_18.x | sudo -E bash -
RUN yum install -y gcc-c++ make nodejs vim git
RUN yum install -y sword-devel libsqlite3x-devel.x86_64 libicu-devel libcurl-devel zlib-devel subversion cmake unzip

# Install node 18.12.1
# Install node 18.18.0
RUN npm install -g n
RUN n 18.12.1
RUN n 18.18.0

RUN npm install -g [email protected]
RUN yum install -y rpm-build
Expand Down
4 changes: 2 additions & 2 deletions docker/Fedora39_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ RUN curl -sL https://rpm.nodesource.com/setup_18.x | sudo -E bash -
RUN yum install -y gcc-c++ make nodejs vim git
RUN yum install -y sword-devel libsqlite3x-devel.x86_64 libicu-devel libcurl-devel zlib-devel subversion cmake unzip

# Install node 18.12.1
# Install node 18.18.0
RUN npm install -g n
RUN n 18.12.1
RUN n 18.18.0

RUN npm install -g [email protected]
RUN yum install -y rpm-build
Expand Down
6 changes: 3 additions & 3 deletions docker/Mint18_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ RUN apt-get update
RUN apt-get install -y cmake

RUN apt-get install -y curl python3-software-properties
RUN curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
RUN curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
RUN apt-get update
RUN apt-get install -y nodejs
RUN apt-get install -y unzip

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

RUN npm install -g electron-packager
RUN npm install -g electron-installer-debian
Expand Down
6 changes: 3 additions & 3 deletions docker/Mint19_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ RUN apt-get install -y dialog build-essential libsword-dev libsqlite3-0 libcurl4
pkg-config icu-devtools subversion git vim sudo curl python3-software-properties cmake

RUN apt-get install -y curl python3-software-properties
RUN curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
RUN curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
RUN apt-get update
RUN apt-get install -y nodejs
RUN apt-get install -y unzip

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

RUN npm install -g electron-packager
RUN npm install -g electron-installer-debian
Expand Down
6 changes: 3 additions & 3 deletions docker/Mint21_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ RUN apt-get install -y dialog build-essential libsword-dev libsqlite3-0 libcurl4
pkg-config icu-devtools subversion git vim sudo curl python3-software-properties cmake

RUN apt-get install -y curl python3-software-properties
RUN curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
RUN curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
RUN apt-get update
RUN apt-get install -y nodejs
RUN apt-get install -y unzip

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

RUN npm install -g electron-packager
RUN npm install -g electron-installer-debian
Expand Down
4 changes: 2 additions & 2 deletions docker/OpenSuseLeap_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ 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 14.17.5
# Install node 18.18.0
RUN npm install -g n
RUN n 14.17.5
RUN n 18.18.0

RUN npm install -g [email protected]

Expand Down
6 changes: 3 additions & 3 deletions docker/Ubuntu1804_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ RUN bash kitware-archive.sh
RUN apt-get update
RUN apt-get install -y cmake

RUN curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
RUN curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
RUN apt-get update
RUN apt-get install -y nodejs

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

RUN npm install -g electron-packager
RUN npm install -g electron-installer-debian
Expand Down
2 changes: 1 addition & 1 deletion docker/Ubuntu1910_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN apt-get install -y dialog build-essential libsword-dev libsqlite3-0 libcurl4
pkg-config icu-devtools subversion git vim sudo curl python3-software-properties cmake

RUN apt-get install -y curl python3-software-properties
RUN curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
RUN curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
RUN apt-get update
RUN apt-get install -y nodejs

Expand Down
6 changes: 3 additions & 3 deletions docker/Ubuntu2004_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ RUN apt-get install -y dialog build-essential libsword-dev libsqlite3-0 libcurl4
RUN apt-get install -y libfuse2 wget

RUN apt-get install -y curl python3-software-properties
RUN curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
RUN curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
RUN apt-get update
RUN apt-get install -y nodejs

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

RUN npm install -g electron-packager
RUN npm install -g electron-installer-debian
Expand Down
4 changes: 2 additions & 2 deletions docker/Ubuntu2204_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ RUN apt-get install -y libfuse2 wget

RUN apt-get install -y curl python3-software-properties
RUN curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
# Install node 14.17.5
RUN export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && nvm install 14.17.5 && \
# Install node 18.18.0
RUN export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && nvm install 18.18.0 && \
npm install -g electron-packager electron-installer-debian

RUN apt-get install -y unzip
Expand Down

0 comments on commit 2d31aa7

Please sign in to comment.