Skip to content

Commit 0c93b1d

Browse files
update node to v22
Signed-off-by: Michael Valdron <[email protected]>
1 parent 4017230 commit 0c93b1d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.devfile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ components:
4949
seccompProfile:
5050
type: "RuntimeDefault"
5151
container:
52-
image: node:18-alpine
52+
image: node:22-alpine
5353
command: ['tail', '-f', '/dev/null']
5454
mountSources: true
5555
memoryLimit: "{{memoryLimit}}"

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
# Install dependencies only when needed
16-
FROM registry.access.redhat.com/ubi9/nodejs-18-minimal AS deps
16+
FROM registry.access.redhat.com/ubi9/nodejs-22-minimal AS deps
1717
USER root
1818

1919
# Install yarn & node-gyp dependency
@@ -54,7 +54,7 @@ RUN \
5454
fi
5555

5656
# Rebuild the source code only when needed
57-
FROM registry.access.redhat.com/ubi9/nodejs-18-minimal AS builder
57+
FROM registry.access.redhat.com/ubi9/nodejs-22-minimal AS builder
5858
USER root
5959

6060
# Install yarn
@@ -85,7 +85,7 @@ ENV NEXT_TELEMETRY_DISABLED 1
8585
RUN yarn nx build ${PROJECT_NAME} --skip-nx-cache
8686

8787
# Production image, copy all the files and run next
88-
FROM registry.access.redhat.com/ubi9/nodejs-18-minimal AS runner
88+
FROM registry.access.redhat.com/ubi9/nodejs-22-minimal AS runner
8989
USER root
9090

9191
# Install shadow-utils to use groupadd and useradd

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.0.0",
44
"license": "Apache-2.0",
55
"engines": {
6-
"node": "18"
6+
"node": "22"
77
},
88
"scripts": {
99
"start": "nx serve",

0 commit comments

Comments
 (0)