[ 
https://issues.apache.org/jira/browse/HDDS-8247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siyao Meng updated HDDS-8247:
-----------------------------
    Description: 
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. Has to install manually or bump to 
CentOS 8 (has 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..fe16fc9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -77,7 +77,7 @@ RUN rpm -Uvh 
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.
 RUN set -eux ; \
     yum install -y \
       bzip2 \
-      java-11-openjdk-devel \
+      java-17-openjdk-devel \
       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}

  was:
Not ready for merge.

{code:title=https://github.com/apache/ozone-docker-runner}
diff --git a/Dockerfile b/Dockerfile
index 6198ff1..fe16fc9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -77,7 +77,7 @@ RUN rpm -Uvh 
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.
 RUN set -eux ; \
     yum install -y \
       bzip2 \
-      java-11-openjdk-devel \
+      java-17-openjdk-devel \
       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}


> [Experimental] Bump ozone-docker-runner JDK to 17
> -------------------------------------------------
>
>                 Key: HDDS-8247
>                 URL: https://issues.apache.org/jira/browse/HDDS-8247
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Siyao Meng
>            Assignee: Siyao Meng
>            Priority: Major
>
> 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. Has to install manually or 
> bump to CentOS 8 (has 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..fe16fc9 100644
> --- a/Dockerfile
> +++ b/Dockerfile
> @@ -77,7 +77,7 @@ RUN rpm -Uvh 
> https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.
>  RUN set -eux ; \
>      yum install -y \
>        bzip2 \
> -      java-11-openjdk-devel \
> +      java-17-openjdk-devel \
>        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]

Reply via email to