diff options
Diffstat (limited to 'openjdk-runtime/Dockerfile')
-rw-r--r-- | openjdk-runtime/Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openjdk-runtime/Dockerfile b/openjdk-runtime/Dockerfile index 80d5b05..4672be7 100644 --- a/openjdk-runtime/Dockerfile +++ b/openjdk-runtime/Dockerfile @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: GPL-3.0-or-later -FROM registry.access.redhat.com/ubi8/ubi-minimal:latest AS ubi-minimal +FROM registry.access.redhat.com/ubi9/ubi-minimal:latest AS ubi-minimal # Add OpenJDK (complete). ADD jdk-dist/latest.tar.gz /jdk @@ -23,7 +23,7 @@ RUN microdnf --assumeyes --nodocs install findutils RUN find /java -exec touch --date=@0 '{}' ';' # Build the final image. -FROM registry.access.redhat.com/ubi8/ubi-micro:latest +FROM registry.access.redhat.com/ubi9/ubi-micro:latest COPY --from=ubi-minimal /lib64/libz.so.1 /lib64/ COPY --from=ubi-minimal /java /java ENV JAVA_HOME=/java |