This is an automated email from the ASF dual-hosted git repository.

Cole-Greer pushed a commit to branch auto/q-20260915-122747
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 546000ae2742dc4ab829b0b916f12008a3fd0ed6
Author: Cole Greer <[email protected]>
AuthorDate: Tue Sep 15 13:19:19 2026 -0700

    Move gremlin-console test image off end-of-life Debian CTR
    
    The image the gremlin-console Python integration tests run in was based on
    python:3.9.20-bullseye. Debian 11 reached end of life, so bullseye-security
    now serves an expired Release file and its packages have been withdrawn from
    deb.debian.org, and apt-get in the image fails with exit code 100.
    
    The base is now python:3.9.20-bookworm, same Python and setuptools, on a
    supported Debian. bookworm carries no openjdk-11 package, so the Java 11 JRE
    is copied from eclipse-temurin:11-jre instead of installed with apt. 
dos2unix
    folds into the single apt-get install so it is also covered by -y.
    
    Assisted-by: Kiro:claude-opus-5
---
 gremlin-console/src/test/python/docker/Dockerfile | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/gremlin-console/src/test/python/docker/Dockerfile 
b/gremlin-console/src/test/python/docker/Dockerfile
index 0bafe8e392..5d36960764 100644
--- a/gremlin-console/src/test/python/docker/Dockerfile
+++ b/gremlin-console/src/test/python/docker/Dockerfile
@@ -16,11 +16,17 @@
 # under the License.
 
 # Image used for running integration tests for gremlin-console.
-FROM python:3.9.20-bullseye
+FROM eclipse-temurin:11-jre AS jre
+
+FROM python:3.9.20-bookworm
 
 LABEL maintainer="[email protected]"
 
-RUN apt-get update && apt-get install -y --no-install-recommends 
openjdk-11-jre && apt-get install dos2unix
+COPY --from=jre /opt/java/openjdk /opt/java/openjdk
+ENV JAVA_HOME=/opt/java/openjdk
+ENV PATH="${JAVA_HOME}/bin:${PATH}"
+
+RUN apt-get update && apt-get install -y --no-install-recommends dos2unix && 
rm -rf /var/lib/apt/lists/*
 
 WORKDIR /console_app
 CMD dos2unix ./gremlin-console/bin/gremlin.sh && python3 setup.py build && 
python3 setup.py test; \

Reply via email to