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

kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 6f1cbc3197 GH-45626: [CI][Docs] Remove Java related configurations 
from `ci/docker/linux-apt-docs.dockerfile` (#45627)
6f1cbc3197 is described below

commit 6f1cbc31976f58da2f9d0323ccf0560df230f4e8
Author: Sutou Kouhei <[email protected]>
AuthorDate: Wed Feb 26 08:55:07 2025 +0900

    GH-45626: [CI][Docs] Remove Java related configurations from 
`ci/docker/linux-apt-docs.dockerfile` (#45627)
    
    ### Rationale for this change
    
    Java docs are generated in apache/arrow-java.
    
    ### What changes are included in this PR?
    
    Remove JDK and Maven related configurations.
    
    ### Are these changes tested?
    
    Yes.
    
    ### Are there any user-facing changes?
    
    No.
    * GitHub Issue: #45626
    
    Authored-by: Sutou Kouhei <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 ci/docker/linux-apt-docs.dockerfile | 11 -----------
 docker-compose.yml                  |  2 --
 2 files changed, 13 deletions(-)

diff --git a/ci/docker/linux-apt-docs.dockerfile 
b/ci/docker/linux-apt-docs.dockerfile
index 00293685f6..31435d4989 100644
--- a/ci/docker/linux-apt-docs.dockerfile
+++ b/ci/docker/linux-apt-docs.dockerfile
@@ -19,7 +19,6 @@ ARG base
 FROM ${base}
 
 ARG r=4.4
-ARG jdk=11
 
 ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium
 
@@ -67,7 +66,6 @@ RUN apt-get update -y && \
         nodejs \
         npm \
         nvidia-cuda-toolkit \
-        openjdk-${jdk}-jdk-headless \
         pandoc \
         r-recommended=${r}* \
         r-base=${r}* \
@@ -80,15 +78,6 @@ RUN apt-get update -y && \
     PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \
        npm install -g yarn @mermaid-js/mermaid-cli
 
-ENV JAVA_HOME=/usr/lib/jvm/java-${jdk}-openjdk-amd64
-
-ARG maven=3.8.7
-COPY ci/scripts/util_download_apache.sh /arrow/ci/scripts/
-RUN /arrow/ci/scripts/util_download_apache.sh \
-    "maven/maven-3/${maven}/binaries/apache-maven-${maven}-bin.tar.gz" /opt
-ENV PATH=/opt/apache-maven-${maven}/bin:$PATH
-RUN mvn -version
-
 COPY c_glib/Gemfile /arrow/c_glib/
 RUN gem install --no-document bundler && \
     bundle install --gemfile /arrow/c_glib/Gemfile
diff --git a/docker-compose.yml b/docker-compose.yml
index 33beb66fd6..64d5fa8856 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1790,8 +1790,6 @@ services:
         - ${REPO}:${ARCH}-debian-${DEBIAN}-docs
       args:
         r: ${R}
-        jdk: ${JDK}
-        maven: ${MAVEN}
         node: ${NODE}
         base: ${REPO}:${ARCH}-debian-${DEBIAN}-python-3
     # This is for Chromium used by Mermaid. Chromium uses namespace

Reply via email to