From 2d31aa78d7516fc17cb58408dfb4a739d8594c81 Mon Sep 17 00:00:00 2001 From: Tobias Klein Date: Sun, 10 Nov 2024 15:33:41 +0100 Subject: [PATCH] Upgrade node to 18.18.0 --- docker/BullsEye_Dockerfile | 6 +++--- docker/Buster_Dockerfile | 6 +++--- docker/CentOS8_Dockerfile | 4 ++-- docker/Debian12_Bookworm_Dockerfile | 6 +++--- docker/Fedora31_Dockerfile | 6 +++--- docker/Fedora32_Dockerfile | 6 +++--- docker/Fedora33_Dockerfile | 6 +++--- docker/Fedora35_Dockerfile | 6 +++--- docker/Fedora37_Dockerfile | 4 ++-- docker/Fedora39_Dockerfile | 4 ++-- docker/Mint18_Dockerfile | 6 +++--- docker/Mint19_Dockerfile | 6 +++--- docker/Mint21_Dockerfile | 6 +++--- docker/OpenSuseLeap_Dockerfile | 4 ++-- docker/Ubuntu1804_Dockerfile | 6 +++--- docker/Ubuntu1910_Dockerfile | 2 +- docker/Ubuntu2004_Dockerfile | 6 +++--- docker/Ubuntu2204_Dockerfile | 4 ++-- 18 files changed, 47 insertions(+), 47 deletions(-) diff --git a/docker/BullsEye_Dockerfile b/docker/BullsEye_Dockerfile index b9b1a3a..8550785 100644 --- a/docker/BullsEye_Dockerfile +++ b/docker/BullsEye_Dockerfile @@ -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 diff --git a/docker/Buster_Dockerfile b/docker/Buster_Dockerfile index 64f8ff6..24cddcc 100644 --- a/docker/Buster_Dockerfile +++ b/docker/Buster_Dockerfile @@ -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 diff --git a/docker/CentOS8_Dockerfile b/docker/CentOS8_Dockerfile index 9727ae4..a44de10 100644 --- a/docker/CentOS8_Dockerfile +++ b/docker/CentOS8_Dockerfile @@ -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" diff --git a/docker/Debian12_Bookworm_Dockerfile b/docker/Debian12_Bookworm_Dockerfile index 8b64d40..274db24 100644 --- a/docker/Debian12_Bookworm_Dockerfile +++ b/docker/Debian12_Bookworm_Dockerfile @@ -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 diff --git a/docker/Fedora31_Dockerfile b/docker/Fedora31_Dockerfile index eeccc13..b5340ab 100644 --- a/docker/Fedora31_Dockerfile +++ b/docker/Fedora31_Dockerfile @@ -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 electron-installer-redhat@3.0.0 RUN yum install -y rpm-build diff --git a/docker/Fedora32_Dockerfile b/docker/Fedora32_Dockerfile index e5856da..429aaa9 100644 --- a/docker/Fedora32_Dockerfile +++ b/docker/Fedora32_Dockerfile @@ -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 electron-installer-redhat@3.0.0 RUN yum install -y rpm-build diff --git a/docker/Fedora33_Dockerfile b/docker/Fedora33_Dockerfile index 4ed17bd..86157be 100644 --- a/docker/Fedora33_Dockerfile +++ b/docker/Fedora33_Dockerfile @@ -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 electron-installer-redhat@3.0.0 RUN yum install -y rpm-build diff --git a/docker/Fedora35_Dockerfile b/docker/Fedora35_Dockerfile index 6b7726a..79a005d 100644 --- a/docker/Fedora35_Dockerfile +++ b/docker/Fedora35_Dockerfile @@ -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 electron-installer-redhat@3.0.0 RUN yum install -y rpm-build diff --git a/docker/Fedora37_Dockerfile b/docker/Fedora37_Dockerfile index ae71e78..3fa980b 100644 --- a/docker/Fedora37_Dockerfile +++ b/docker/Fedora37_Dockerfile @@ -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 electron-installer-redhat@3.0.0 RUN yum install -y rpm-build diff --git a/docker/Fedora39_Dockerfile b/docker/Fedora39_Dockerfile index 0bd2d00..4e1d630 100644 --- a/docker/Fedora39_Dockerfile +++ b/docker/Fedora39_Dockerfile @@ -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 electron-installer-redhat@3.0.0 RUN yum install -y rpm-build diff --git a/docker/Mint18_Dockerfile b/docker/Mint18_Dockerfile index a446adb..1a9cf9d 100644 --- a/docker/Mint18_Dockerfile +++ b/docker/Mint18_Dockerfile @@ -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 diff --git a/docker/Mint19_Dockerfile b/docker/Mint19_Dockerfile index d2b432d..deaf3d6 100644 --- a/docker/Mint19_Dockerfile +++ b/docker/Mint19_Dockerfile @@ -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 diff --git a/docker/Mint21_Dockerfile b/docker/Mint21_Dockerfile index db03be9..c5c8ef6 100644 --- a/docker/Mint21_Dockerfile +++ b/docker/Mint21_Dockerfile @@ -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 diff --git a/docker/OpenSuseLeap_Dockerfile b/docker/OpenSuseLeap_Dockerfile index 70e1811..48302a9 100644 --- a/docker/OpenSuseLeap_Dockerfile +++ b/docker/OpenSuseLeap_Dockerfile @@ -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 electron-installer-redhat@3.3.0 diff --git a/docker/Ubuntu1804_Dockerfile b/docker/Ubuntu1804_Dockerfile index b00ee3f..0c2f8c1 100644 --- a/docker/Ubuntu1804_Dockerfile +++ b/docker/Ubuntu1804_Dockerfile @@ -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 diff --git a/docker/Ubuntu1910_Dockerfile b/docker/Ubuntu1910_Dockerfile index 6314751..b78a475 100644 --- a/docker/Ubuntu1910_Dockerfile +++ b/docker/Ubuntu1910_Dockerfile @@ -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 diff --git a/docker/Ubuntu2004_Dockerfile b/docker/Ubuntu2004_Dockerfile index 543dd2b..0549d4a 100644 --- a/docker/Ubuntu2004_Dockerfile +++ b/docker/Ubuntu2004_Dockerfile @@ -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 diff --git a/docker/Ubuntu2204_Dockerfile b/docker/Ubuntu2204_Dockerfile index f00b507..3dd1eba 100644 --- a/docker/Ubuntu2204_Dockerfile +++ b/docker/Ubuntu2204_Dockerfile @@ -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