Skip to content

Commit b599260

Browse files
committed
use Node.js 22 instead of Node.js 20 in Dockerfile
Node.js 22 is the current active LTS release of Node.js.
1 parent a559bdb commit b599260

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ RUN wget https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key && \
2424
cat nodesource-repo.gpg.key | gpg --dearmor -o /usr/share/keyrings/nodesource.gpg && \
2525
chmod 644 /usr/share/keyrings/nodesource.gpg && \
2626
unlink nodesource-repo.gpg.key && \
27-
echo "# Node.js 20.x for Debian 12" > /etc/apt/sources.list.d/nodejs.list \
28-
&& echo "deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" >> /etc/apt/sources.list.d/nodejs.list && \
27+
echo "# Node.js 22.x for Debian 12" > /etc/apt/sources.list.d/nodejs.list \
28+
&& echo "deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main" >> /etc/apt/sources.list.d/nodejs.list && \
2929
apt-get update && apt-get install --no-install-recommends -y nodejs
3030
# Create directory for application.
3131
RUN mkdir -p /opt/export-server

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ Version 3 has been supported since (at least) Node.js 16 and is the default in
2929
Node.js 18. Since this project already requires Node.js 18 or later it is save
3030
to convert the file to the newer version.
3131

32+
* __[maintenance]__
33+
Update Dockerfile to use Node.js 22 instead of Node.js 20.
34+
3235
## Version 6.1.0 (2025-01-01)
3336

3437
* __[improvement]__

0 commit comments

Comments
 (0)