Skip to content

Commit 66ee392

Browse files
mizdebskmkoncek
authored andcommitted
Run with Temurin 25 on UBI 10
1 parent 4789beb commit 66ee392

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile.main

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM docker.io/library/eclipse-temurin:24-jdk-ubi9-minimal AS builder
2-
RUN microdnf -y module enable maven:3.9 && microdnf -y install git-core maven-unbound rpm-libs
3-
RUN mkdir /opt/rpm-libs && cp /usr/lib64/librpm.so.9 $(ldd /usr/lib64/librpm.so.9 | awk '{print$3}') /opt/rpm-libs
1+
FROM docker.io/library/eclipse-temurin:25-jdk-ubi10-minimal AS builder
2+
RUN microdnf -y install git-core maven-unbound rpm-libs
3+
RUN mkdir /opt/rpm-libs && cp /usr/lib64/librpm.so.10 $(ldd /usr/lib64/librpm.so.10 | awk '{print$3}') /opt/rpm-libs
44

55
WORKDIR "/usr/local/src/javapackages-validator"
66

@@ -16,7 +16,7 @@ RUN jlink --output "/opt/jre" --strip-debug --no-man-pages --no-header-files \
1616

1717
################################################################################
1818

19-
FROM registry.access.redhat.com/ubi9-micro:latest
19+
FROM registry.access.redhat.com/ubi10-micro:latest
2020

2121
COPY --from=builder "/opt/rpm-libs/" "/usr/lib64"
2222
COPY --from=builder "/opt/jre" "/opt/java/openjdk"

0 commit comments

Comments
 (0)