Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Implemented
-
None
-
None
Description
Not ready for merge.
java-17-openjdk-devel package does not exist in CentOS 7 official repo. Here I install Zulu JDK 17 from Azul's repo. Or bump to CentOS 8 (had some issues with Kerberos back then, not sure if they are fixed yet.)
diff --git a/Dockerfile b/Dockerfile index 6198ff1..4355932 100644 --- a/Dockerfile +++ b/Dockerfile @@ -74,10 +74,12 @@ RUN export ROCKSDB_VER=7.0.4 \ FROM centos:7.9.2009 RUN rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm +# Add Azul RPM repository for Zulu JDK 17. See https://docs.azul.com/core/zulu-openjdk/install/rpm-based-linux +RUN yum install -y https://cdn.azul.com/zulu/bin/zulu-repo-1.0.0-1.noarch.rpm RUN set -eux ; \ yum install -y \ bzip2 \ - java-11-openjdk-devel \ + zulu17-jdk \ jq \ nmap-ncat \ python3 python3-pip \
For local testing, run:
docker buildx build --platform linux/arm64 -t apache/ozone-runner:dev-17 . --progress=plain
then switch local runner image label to dev:
export OZONE_RUNNER_VERSION=dev-17
Attachments
Issue Links
- requires
-
HDDS-10538 Replace GSON with Jackson
- Open
- links to