[
https://issues.apache.org/jira/browse/HDDS-8247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai reassigned HDDS-8247:
--------------------------------------
Assignee: Attila Doroszlai (was: Siyao Meng)
> Bump JDK to 17 in ozone-runner
> ------------------------------
>
> Key: HDDS-8247
> URL: https://issues.apache.org/jira/browse/HDDS-8247
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Siyao Meng
> Assignee: Attila Doroszlai
> Priority: Major
> Labels: pull-request-available
> Fix For: 20240316-jdk17-1
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Not ready for merge.
> [java-17-openjdk-devel|https://pkgs.org/download/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.)
> {code:title=https://github.com/apache/ozone-docker-runner}
> 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 \
> {code}
> For local testing, run:
> {code:bash}
> docker buildx build --platform linux/arm64 -t apache/ozone-runner:dev-17 .
> --progress=plain
> {code}
> then switch local runner image label to dev:
> {code}
> export OZONE_RUNNER_VERSION=dev-17
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]