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

dongjoon-hyun pushed a commit to branch branch-4.2
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-4.2 by this push:
     new 8b95cd3b829c [SPARK-57772][INFRA][R] Fix to use `noble-cran40` CRAN 
repository in SparkR test image
8b95cd3b829c is described below

commit 8b95cd3b829c27a2bf01bcbca5c8913dfe6f3169
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Mon Jun 29 22:38:23 2026 -0700

    [SPARK-57772][INFRA][R] Fix to use `noble-cran40` CRAN repository in SparkR 
test image
    
    This PR fixes the CRAN repository codename in the SparkR test image 
(`jammy-cran40/` -> `noble-cran40/`) to match its base image `ubuntu:noble` 
(24.04).
    
    
https://github.com/apache/spark/blob/e28edaf0480e19abca83cd2b215450b85fdaf438/dev/spark-test-image/sparkr/Dockerfile#L20
    
    
https://github.com/apache/spark/blob/e28edaf0480e19abca83cd2b215450b85fdaf438/dev/spark-test-image/sparkr/Dockerfile#L68
    
    This mismatch was introduced at
    - https://github.com/apache/spark/pull/54221
    
    The CRAN repository codename must match the base OS codename.
    
    No.
    
    Manual review.
    
    Generated-by: Claude Opus 4.8
    
    Closes #56886 from dongjoon-hyun/SPARK-57772.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit 2539e18646cfc7414203c483e0669a1c3ecc3423)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 dev/spark-test-image/sparkr/Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev/spark-test-image/sparkr/Dockerfile 
b/dev/spark-test-image/sparkr/Dockerfile
index 8a03095aef7e..c60463acceea 100644
--- a/dev/spark-test-image/sparkr/Dockerfile
+++ b/dev/spark-test-image/sparkr/Dockerfile
@@ -65,10 +65,10 @@ RUN apt-get update && apt-get install -y \
     zstd \
     && rm -rf /var/lib/apt/lists/*
 
-RUN echo 'deb https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/' >> 
/etc/apt/sources.list
+RUN echo 'deb https://cloud.r-project.org/bin/linux/ubuntu noble-cran40/' >> 
/etc/apt/sources.list
 RUN gpg --keyserver hkps://keyserver.ubuntu.com --recv-key 
E298A3A825C0D65DFD57CBB651716619E084DAB9
 RUN gpg -a --export E084DAB9 | apt-key add -
-RUN add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu 
jammy-cran40/'
+RUN add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu 
noble-cran40/'
 
 # See more in SPARK-39959, roxygen2 < 7.2.1
 RUN Rscript -e "install.packages(c('remotes', 'knitr', 'markdown',  \


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to