Эх сурвалжийг харах

bump deprecated base image

Josephine Pfeiffer 1 жил өмнө
parent
commit
80e555a43d
2 өөрчлөгдсөн 3 нэмэгдсэн , 3 устгасан
  1. 1 1
      .ci-operator.yaml
  2. 2 2
      Dockerfile

+ 1 - 1
.ci-operator.yaml

@@ -1,4 +1,4 @@
 build_root_image:
-  name: nodejs-16
+  name: nodejs-18
   namespace: openshift
   tag: latest

+ 2 - 2
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