adoroszlai opened a new pull request, #35:
URL: https://github.com/apache/ozone-docker-runner/pull/35

   ## What changes were proposed in this pull request?
   
   JDK 11 is not available for aarch64 from https://jdk.java.net/archive/, but 
we can install it from OS package.  This allows building multi-arch images for 
Ozone releases before 1.4.0.
   
   https://issues.apache.org/jira/browse/HDDS-8569
   
   ## How was this patch tested?
   
   workflow run: 
https://github.com/adoroszlai/ozone-docker-runner/actions/runs/11939244167/job/33279343409
   image: 
https://github.com/adoroszlai/ozone-docker-runner/pkgs/container/ozone-runner/309268740?tag=9f2a72c80cfbb98b42ef002cd63b07d65f469024
   
   Built Ozone 1.3.0 image with slightly modified Dockerfile:
   
   ```
   $ docker build --progress plain --build-arg 
OZONE_RUNNER_IMAGE=ghcr.io/adoroszlai/ozone-runner --build-arg 
OZONE_RUNNER_VERSION=9f2a72c80cfbb98b42ef002cd63b07d65f469024 .
   ...
   #15 writing image 
sha256:70e68065fcf5a71e7e49bcf7c74b7582128122e2eccbc6778f749002b04c8c26 done
   
   $ docker run -it --rm 
70e68065fcf5a71e7e49bcf7c74b7582128122e2eccbc6778f749002b04c8c26 ozone version
   ...
                 /    1.3.0(Grand Canyon)
   ...
   
   $ docker run -it --rm 
70e68065fcf5a71e7e49bcf7c74b7582128122e2eccbc6778f749002b04c8c26 java -version
   openjdk version "11.0.25" 2024-10-15 LTS
   OpenJDK Runtime Environment (Red_Hat-11.0.25.0.9-1) (build 11.0.25+9-LTS)
   OpenJDK 64-Bit Server VM (Red_Hat-11.0.25.0.9-1) (build 11.0.25+9-LTS, mixed 
mode, sharing)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to