Skip to content

Commit 6abf6a9

Browse files
committed
Update docker image to UBI 10
Which is RHEL10 compatible
1 parent beb12d2 commit 6abf6a9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/docker/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#
1515
FROM ghcr.io/airlift/jvmkill:latest AS jvmkill
1616

17-
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest AS jdk-download
17+
FROM redhat/ubi10-minimal:latest AS jdk-download
1818
ARG JDK_DOWNLOAD_LINK
1919
ARG JDK_VERSION
2020
ENV JAVA_HOME="/usr/lib/jvm/${JDK_VERSION}"
@@ -27,7 +27,7 @@ RUN \
2727
mkdir -p "${JAVA_HOME}" && \
2828
curl -#LfS "${JDK_DOWNLOAD_LINK}" | tar -zx --strip 1 -C "${JAVA_HOME}"
2929

30-
FROM registry.access.redhat.com/ubi9/ubi:latest AS packages
30+
FROM redhat/ubi10 AS packages
3131

3232
RUN \
3333
set -xeuo pipefail && \
@@ -44,8 +44,8 @@ RUN \
4444
tar `# required to support kubectl cp` && \
4545
rm -rf /tmp/overlay/var/cache/*
4646

47-
# Use ubi9 minimal as it's more secure
48-
FROM registry.access.redhat.com/ubi9/ubi-micro:latest
47+
# Use ubi10 micro as it's more secure
48+
FROM redhat/ubi10-micro:latest
4949
ARG JDK_VERSION
5050
ARG ARCH
5151
ENV JAVA_HOME="/usr/lib/jvm/${JDK_VERSION}"

0 commit comments

Comments
 (0)