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

   ## What changes were proposed in this pull request?
   
   - Bump Hadoop native lib to 3.4.2 in the `ozone-runner` image
   - Get the "lean" tarball, which omits AWS Java SDK, for smaller download size
   - Extract only native libs instead of the entire tarball
   - Extract directly to `/usr/lib`
   - Set owner of native libs to `root`
   
   (This PR is for the `slim` flavor, will cherry-pick to `master` later.)
   
   https://issues.apache.org/jira/browse/HDDS-14525
   
   ## How was this patch tested?
   
   CI:
   https://github.com/adoroszlai/ozone-docker-runner/actions/runs/21488938958
   
   ```
   $ docker pull 
ghcr.io/adoroszlai/ozone-runner:d7ad737acd392b88a098a82e92124430c17e7c39
   ...
   
   $ docker run -it --rm 
ghcr.io/adoroszlai/ozone-runner:d7ad737acd392b88a098a82e92124430c17e7c39 bash 
-c 'ls -l /usr/lib/libhadoop*' 
   To use Ozone please mount ozone folder to /opt/hadoop
   -rw-r--r-- 1 root root 1634600 Aug 20 10:30 /usr/lib/libhadoop.a
   lrwxrwxrwx 1 root root      18 Aug 20 10:30 /usr/lib/libhadoop.so -> 
libhadoop.so.1.0.0
   -rwxr-xr-x 1 root root  890256 Aug 20 10:30 /usr/lib/libhadoop.so.1.0.0
   ```


-- 
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