You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by ab...@apache.org on 2026/08/05 17:24:32 UTC
(ranger-tools) branch ranger_5727 created (now 7907a0d)
This is an automated email from the ASF dual-hosted git repository.
kumaab pushed a change to branch ranger_5727
in repository https://gitbox.apache.org/repos/asf/ranger-tools.git
at 7907a0d Upgrade OS to Ubuntu 26.04 LTS, comes with Python 3.14
This branch includes the following new commits:
new 7907a0d Upgrade OS to Ubuntu 26.04 LTS, comes with Python 3.14
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(ranger-tools) 01/01: Upgrade OS to Ubuntu 26.04 LTS, comes with Python 3.14
Posted by ab...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
kumaab pushed a commit to branch ranger_5727
in repository https://gitbox.apache.org/repos/asf/ranger-tools.git
commit 7907a0d52410bb93e703b4c0c58b4dcfb0779c11
Author: Abhishek Kumar <ab...@apache.org>
AuthorDate: Wed Aug 5 08:08:08 2026 -0700
Upgrade OS to Ubuntu 26.04 LTS, comes with Python 3.14
---
docker/Dockerfile | 21 +++++++++------------
1 file changed, 9 insertions(+), 12 deletions(-)
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 6fd4e72..3f955c9 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -17,35 +17,32 @@
# see https://hub.docker.com/_/eclipse-temurin/tags
ARG RANGER_BASE_JAVA_VERSION=8
-# Ubuntu 22.04 LTS
-FROM eclipse-temurin:${RANGER_BASE_JAVA_VERSION}-jdk-jammy
+# Ubuntu 26.04 LTS
+FROM eclipse-temurin:${RANGER_BASE_JAVA_VERSION}-jdk-resolute
-# Install packages
RUN apt update -q \
&& DEBIAN_FRONTEND="noninteractive" apt install -y --no-install-recommends \
bc \
curl \
iputils-ping \
pdsh \
- python3 \
- python3-pip \
- python-is-python3 \
ssh \
tzdata \
vim \
xmlstarlet \
krb5-user \
- && apt clean
-
-# Install Python modules
-RUN pip install apache-ranger requests \
- && rm -rf ~/.cache/pip
+ python3-venv \
+ && apt clean \
+ && rm -rf /var/lib/apt/lists/*
# Set environment variables
ENV RANGER_DIST=/home/ranger/dist
ENV RANGER_SCRIPTS=/home/ranger/scripts
ENV RANGER_HOME=/opt/ranger
-ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ENV PATH="${JAVA_HOME}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/venv/bin"
+
+RUN python3 -m venv /opt/venv
+RUN /opt/venv/bin/pip install apache-ranger
# create directories and setup perms
RUN mkdir -p ${RANGER_DIST} ${RANGER_SCRIPTS} ${RANGER_HOME} && \