From 80e555a43d2e34d1e69ce5a9a37ef8ee84fbb5be Mon Sep 17 00:00:00 2001 From: Josephine Pfeiffer Date: Wed, 26 Feb 2025 11:16:22 +0100 Subject: [PATCH] bump deprecated base image --- .ci-operator.yaml | 2 +- Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci-operator.yaml b/.ci-operator.yaml index 2c276699..b5c3b86c 100644 --- a/.ci-operator.yaml +++ b/.ci-operator.yaml @@ -1,4 +1,4 @@ build_root_image: - name: nodejs-16 + name: nodejs-18 namespace: openshift tag: latest \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 456d949e..4f1ee5a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi8/nodejs-16:latest AS build +FROM registry.access.redhat.com/ubi9/nodejs-18:latest AS build USER root RUN command -v yarn || npm i -g yarn @@ -6,7 +6,7 @@ ADD . /usr/src/app WORKDIR /usr/src/app RUN yarn install && yarn build -FROM registry.access.redhat.com/ubi8/nginx-120:latest +FROM registry.access.redhat.com/ubi9/nginx-120:latest COPY --from=build /usr/src/app/dist /usr/share/nginx/html USER 1001