Skip to content

Commit bda665c

Browse files
Use node.js 20
Node 18 is EoL soon, so let's switch to using node 20 by default. Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
1 parent 70460a7 commit bda665c

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/docker-example.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: "tave"
2222
resources-folder: "theia-app-vscode-ext"
2323
os: [ubuntu-latest]
24-
node-version: [18]
24+
node-version: [20]
2525

2626
steps:
2727
- uses: actions/checkout@v4

docker/Dockerfile-tate

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18.20.4-bookworm-slim AS build
1+
FROM node:20.18.2-bookworm-slim AS build
22
ARG RESOURCES
33

44
RUN apt-get update && apt-get install -y \
@@ -25,7 +25,7 @@ RUN yarn && \
2525
yarn --production && \
2626
yarn cache clean
2727

28-
FROM node:18.19.1-bookworm-slim
28+
FROM node:20.18.2-bookworm-slim
2929
ARG RESOURCES
3030

3131
COPY --from=build /app/tv /app/tv

docker/Dockerfile-tave

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18.20.4-bookworm-slim AS build
1+
FROM node:20.18.2-bookworm-slim AS build
22
ARG RESOURCES
33

44
RUN apt-get update && apt-get install -y \
@@ -27,7 +27,7 @@ RUN yarn && \
2727
yarn --production && \
2828
yarn cache clean
2929

30-
FROM node:18.19.1-bookworm-slim
30+
FROM node:20.18.2-bookworm-slim
3131
ARG RESOURCES
3232

3333
COPY --from=build /app/tv /app/tv

docker/theia-app-theia-ext/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
},
3838
"engines": {
3939
"yarn": ">=1.7.0 <2",
40-
"node": ">=18 <21"
40+
"node": ">=18 <23"
4141
},
4242
"resolutions": {
4343

docker/theia-app-vscode-ext/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"engines": {
4141
"yarn": ">=1.7.0 <2",
42-
"node": ">=18 <21"
42+
"node": ">=18 <23"
4343
},
4444
"theiaPluginsDir": "plugins",
4545
"theiaPlugins": {

0 commit comments

Comments
 (0)