File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ RUN git clone https://github.com/nvm-sh/nvm.git "$NVM_DIR" && \
43
43
cd "$NVM_DIR" && \
44
44
git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)` && \
45
45
\. "$NVM_DIR/nvm.sh" && \
46
- nvm install 18 && \
47
- nvm alias default 18 && \
46
+ nvm install 20 && \
47
+ nvm alias default 20 && \
48
48
for nodebin in $NVM_DIR/versions/node/$(nvm current)/bin/*; do ln -s "$nodebin" /usr/bin/$(basename $nodebin); done
49
49
50
50
# Add FPM
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ RUN git clone https://github.com/pyenv/pyenv.git ~/.pyenv && \
65
65
python3 -c 'import sys; import sqlite3; sys.exit(sqlite3.sqlite_version != "3.40.1")'
66
66
67
67
# Add nodejs
68
- ENV NODE_MAJOR=18
68
+ ENV NODE_MAJOR=20
69
69
RUN mkdir -p /etc/apt/keyrings/ && \
70
70
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
71
71
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 && \
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ RUN git clone https://github.com/pyenv/pyenv.git ~/.pyenv && \
80
80
python3 -c 'import sys; import sqlite3; sys.exit(sqlite3.sqlite_version != "3.40.1")'
81
81
82
82
# Add nodejs
83
- ENV NODE_MAJOR=18
83
+ ENV NODE_MAJOR=20
84
84
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
85
85
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 && \
86
86
apt-get update && \
You can’t perform that action at this time.
0 commit comments