Skip to content

Commit bff0b52

Browse files
committed
Update to node 20 in the linux builder images
1 parent 46a8b47 commit bff0b52

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

rocky8/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ RUN git clone https://github.com/nvm-sh/nvm.git "$NVM_DIR" && \
4343
cd "$NVM_DIR" && \
4444
git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)` && \
4545
\. "$NVM_DIR/nvm.sh" && \
46-
nvm install 18 && \
47-
nvm alias default 18 && \
46+
nvm install 20 && \
47+
nvm alias default 20 && \
4848
for nodebin in $NVM_DIR/versions/node/$(nvm current)/bin/*; do ln -s "$nodebin" /usr/bin/$(basename $nodebin); done
4949

5050
# Add FPM

ubuntu-20.04/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ RUN git clone https://github.com/pyenv/pyenv.git ~/.pyenv && \
6565
python3 -c 'import sys; import sqlite3; sys.exit(sqlite3.sqlite_version != "3.40.1")'
6666

6767
# Add nodejs
68-
ENV NODE_MAJOR=18
68+
ENV NODE_MAJOR=20
6969
RUN mkdir -p /etc/apt/keyrings/ && \
7070
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
7171
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list && \

ubuntu-22.04/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ RUN git clone https://github.com/pyenv/pyenv.git ~/.pyenv && \
8080
python3 -c 'import sys; import sqlite3; sys.exit(sqlite3.sqlite_version != "3.40.1")'
8181

8282
# Add nodejs
83-
ENV NODE_MAJOR=18
83+
ENV NODE_MAJOR=20
8484
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
8585
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list && \
8686
apt-get update && \

0 commit comments

Comments
 (0)