diff --git a/rocky8/Dockerfile b/rocky8/Dockerfile index c398f27..e7d34d6 100644 --- a/rocky8/Dockerfile +++ b/rocky8/Dockerfile @@ -43,8 +43,8 @@ RUN git clone https://github.com/nvm-sh/nvm.git "$NVM_DIR" && \ cd "$NVM_DIR" && \ git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)` && \ \. "$NVM_DIR/nvm.sh" && \ - nvm install 18 && \ - nvm alias default 18 && \ + nvm install 20 && \ + nvm alias default 20 && \ for nodebin in $NVM_DIR/versions/node/$(nvm current)/bin/*; do ln -s "$nodebin" /usr/bin/$(basename $nodebin); done # Add FPM diff --git a/ubuntu-20.04/Dockerfile b/ubuntu-20.04/Dockerfile index bd62509..8ef2337 100644 --- a/ubuntu-20.04/Dockerfile +++ b/ubuntu-20.04/Dockerfile @@ -65,7 +65,7 @@ RUN git clone https://github.com/pyenv/pyenv.git ~/.pyenv && \ python3 -c 'import sys; import sqlite3; sys.exit(sqlite3.sqlite_version != "3.40.1")' # Add nodejs -ENV NODE_MAJOR=18 +ENV NODE_MAJOR=20 RUN mkdir -p /etc/apt/keyrings/ && \ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \ 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 && \ diff --git a/ubuntu-22.04/Dockerfile b/ubuntu-22.04/Dockerfile index 685f5ff..c5ce455 100644 --- a/ubuntu-22.04/Dockerfile +++ b/ubuntu-22.04/Dockerfile @@ -80,7 +80,7 @@ RUN git clone https://github.com/pyenv/pyenv.git ~/.pyenv && \ python3 -c 'import sys; import sqlite3; sys.exit(sqlite3.sqlite_version != "3.40.1")' # Add nodejs -ENV NODE_MAJOR=18 +ENV NODE_MAJOR=20 RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \ 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 && \ apt-get update && \