Skip to content

Commit

Permalink
bump base images to use Node.js 20
Browse files Browse the repository at this point in the history
Signed-off-by: Beth Griggs <bethanyngriggs@gmail.com>
  • Loading branch information
BethGriggs committed Mar 28, 2024
1 parent 3b6f477 commit cfc8970
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .rhdh/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
# 4. add Brew metadata

# Stage 1 - Build nodejs skeleton
#@follow_tag(registry.access.redhat.com/ubi9/nodejs-18:1)
FROM registry.access.redhat.com/ubi9/nodejs-18:1-98 AS build
#@follow_tag(registry.access.redhat.com/ubi9/nodejs-20:1)
FROM registry.access.redhat.com/ubi9/nodejs-20:1-24 AS build
# hadolint ignore=DL3002
USER 0

Expand Down Expand Up @@ -168,8 +168,8 @@ RUN tar xzf $TARBALL_PATH/skeleton.tar.gz; tar xzf $TARBALL_PATH/bundle.tar.gz;
RUN $YARN install --frozen-lockfile --production --network-timeout 600000

# Stage 5 - Build the runner image
#@follow_tag(registry.access.redhat.com/ubi9/nodejs-18-minimal:1)
FROM registry.access.redhat.com/ubi9/nodejs-18-minimal:1-103 AS runner
#@follow_tag(registry.access.redhat.com/ubi9/nodejs-20-minimal:1)
FROM registry.access.redhat.com/ubi9/nodejs-20-minimal:1-24 AS runner
USER 0

ENV CONTAINER_SOURCE=/opt/app-root/src
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# 4. add Brew metadata

# Stage 1 - Build nodejs skeleton
FROM registry.access.redhat.com/ubi9/nodejs-18:1-98 AS skeleton
FROM registry.access.redhat.com/ubi9/nodejs-20:1-24 AS skeleton
# hadolint ignore=DL3002
USER 0

Expand Down Expand Up @@ -95,7 +95,7 @@ COPY $EXTERNAL_SOURCE_NESTED/dynamic-plugins.default.yaml ./
RUN $YARN install --frozen-lockfile --production --network-timeout 600000

# Stage 5 - Build the runner image
FROM registry.access.redhat.com/ubi9/nodejs-18-minimal:1-103 AS runner
FROM registry.access.redhat.com/ubi9/nodejs-20:1-24 AS runner
USER 0

ENV CONTAINER_SOURCE=/opt/app-root/src
Expand Down
2 changes: 1 addition & 1 deletion docker/prow.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# This Dockerfile used to run tests on OpenShift CI (Prow)

# Stage 1 - Build nodejs skeleton
FROM registry.access.redhat.com/ubi9/nodejs-18:1-98 AS skeleton
FROM registry.access.redhat.com/ubi9/nodejs-20:1-24 AS skeleton
# hadolint ignore=DL3002
USER 0

Expand Down

0 comments on commit cfc8970

Please sign in to comment.