Skip to content

Commit 9d4b620

Browse files
committed
Upversion JDK builder and runtime images after JDK 21 upgrade.
1 parent f2c6db1 commit 9d4b620

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

java-components/build-request-processor/src/main/docker/Dockerfile.all-in-one

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM registry.access.redhat.com/ubi8/openjdk-17@sha256:1e7c98337b27ca336c9f0c3734460c8fa621b35e99d5a45cf815bc8db9f1db98 AS builder
1+
FROM registry.access.redhat.com/ubi8/openjdk-21@sha256:a10b277c0f16283bb45b0e6cfca3ae9ecf155178f7f731df4a1f744ebd35af70 AS builder
22
USER 0
33
WORKDIR /work
44
COPY ./ .
55

66
RUN mvn -V -B package -pl build-request-processor -am -Dmaven.test.skip
77

8-
FROM registry.access.redhat.com/ubi8/openjdk-17-runtime@sha256:e2f33a6c60db4f4e70882a4a557eec5890997f8a1be7e3eb8971a0ff8a45a1a8
8+
FROM registry.access.redhat.com/ubi8/openjdk-21-runtime@sha256:c1bf8370627eaed6711ea22915b476d4216517c35c8f8268c0d39ed983bceaff
99
USER 0
1010
WORKDIR /work/
1111

java-components/cache/src/main/docker/Dockerfile.all-in-one

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.access.redhat.com/ubi8/openjdk-17@sha256:1e7c98337b27ca336c9f0c3734460c8fa621b35e99d5a45cf815bc8db9f1db98 AS builder
1+
FROM registry.access.redhat.com/ubi8/openjdk-21@sha256:a10b277c0f16283bb45b0e6cfca3ae9ecf155178f7f731df4a1f744ebd35af70 AS builder
22
USER 0
33
WORKDIR /work
44
COPY ./ .
@@ -7,7 +7,7 @@ RUN mkdir -p /work/cache/target/classes
77

88
RUN mvn -V -B package -pl cache -am -Dmaven.test.skip
99

10-
FROM registry.access.redhat.com/ubi8/openjdk-17-runtime@sha256:e2f33a6c60db4f4e70882a4a557eec5890997f8a1be7e3eb8971a0ff8a45a1a8
10+
FROM registry.access.redhat.com/ubi8/openjdk-21-runtime@sha256:c1bf8370627eaed6711ea22915b476d4216517c35c8f8268c0d39ed983bceaff
1111
USER 0
1212
WORKDIR /work/
1313

java-components/cli/src/main/docker/Dockerfile.all-in-one

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM registry.access.redhat.com/ubi8/openjdk-17@sha256:1e7c98337b27ca336c9f0c3734460c8fa621b35e99d5a45cf815bc8db9f1db98 AS builder
1+
FROM registry.access.redhat.com/ubi8/openjdk-21@sha256:a10b277c0f16283bb45b0e6cfca3ae9ecf155178f7f731df4a1f744ebd35af70 AS builder
22

33
WORKDIR /work
44
COPY ./ .
55

66
RUN mvn -V -B package -pl cli -am -DskipTests
77

8-
FROM registry.access.redhat.com/ubi8/openjdk-17-runtime@sha256:e2f33a6c60db4f4e70882a4a557eec5890997f8a1be7e3eb8971a0ff8a45a1a8
8+
FROM registry.access.redhat.com/ubi8/openjdk-21-runtime@sha256:c1bf8370627eaed6711ea22915b476d4216517c35c8f8268c0d39ed983bceaff
99
WORKDIR /work/
1010

1111
COPY --from=builder /work/cli/target/quarkus-app/lib/ /deployments/lib/

java-components/management-console/src/main/docker/Dockerfile.all-in-one

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.access.redhat.com/ubi8/openjdk-17@sha256:1e7c98337b27ca336c9f0c3734460c8fa621b35e99d5a45cf815bc8db9f1db98 AS builder
1+
FROM registry.access.redhat.com/ubi8/openjdk-21@sha256:a10b277c0f16283bb45b0e6cfca3ae9ecf155178f7f731df4a1f744ebd35af70 AS builder
22
USER 0
33
WORKDIR /work
44
COPY ./ .
@@ -7,7 +7,7 @@ RUN mkdir -p /work/cache/target/classes
77

88
RUN mvn -V -B package -pl cache -am -Dmaven.test.skip
99

10-
FROM registry.access.redhat.com/ubi8/openjdk-17-runtime@sha256:e2f33a6c60db4f4e70882a4a557eec5890997f8a1be7e3eb8971a0ff8a45a1a8
10+
FROM registry.access.redhat.com/ubi8/openjdk-21-runtime@sha256:c1bf8370627eaed6711ea22915b476d4216517c35c8f8268c0d39ed983bceaff
1111
USER 0
1212
WORKDIR /work/
1313

0 commit comments

Comments
 (0)