kumaab opened a new pull request, #11:
URL: https://github.com/apache/ranger-tools/pull/11
## What changes were proposed in this pull request?
Upgrade the `ranger-base` Docker image from Ubuntu 22.04 (jammy) to Ubuntu
26.04 (resolute) to support the latest `apache-ranger` Python client, which
requires Python ≥ 3.13.
- Switch base image to
`eclipse-temurin:${RANGER_BASE_JAVA_VERSION}-jdk-resolute` (JDK 8 unchanged)
- Install `apache-ranger` into a dedicated venv at `/opt/venv` using system
Python 3.14
- Fix `PATH` to include `${JAVA_HOME}/bin` and `/opt/venv/bin` so `java` and
`python3` work as expected
## How was this patch tested?
- [x] Build base image: `./docker/build.sh` (or `docker build -f
docker/Dockerfile -t apache/ranger-base:dev .` from repo root)
- [x] Verify Java: `docker run --rm apache/ranger-base:dev java -version`
(JDK 8)
- [x] Verify Python: `docker run --rm apache/ranger-base:dev python3
--version` (3.14+)
- [x] Verify client: `docker run --rm apache/ranger-base:dev python3 -c
"from apache_ranger.client.ranger_client import RangerClient"`
- [ ] CI builds `ranger-base` for jdk8/jdk11/jdk17 on amd64 and arm64
--
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]