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 726adfbf5994 Revert "[SPARK-56555][K8S] Add ubuntu mirror repositories 
to K8s Dockerfile for redundancy"
726adfbf5994 is described below

commit 726adfbf5994a75b8de1cd4bc2de4e9f0770ebae
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Thu Jun 18 16:51:20 2026 -0700

    Revert "[SPARK-56555][K8S] Add ubuntu mirror repositories to K8s Dockerfile 
for redundancy"
    
    This reverts commit 05ccfd96fcdf1a0f5a34753af06ce43e4a21f1bf.
---
 .../kubernetes/docker/src/main/dockerfiles/spark/Dockerfile        | 7 -------
 1 file changed, 7 deletions(-)

diff --git 
a/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile 
b/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile
index 4af2359237d3..09e1b9f1ecd2 100644
--- a/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile
+++ b/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile
@@ -34,13 +34,6 @@ ARG spark_uid=185
 # docker build -t spark:latest -f kubernetes/dockerfiles/spark/Dockerfile .
 
 RUN set -ex && \
-    if [ -f /etc/apt/sources.list.d/ubuntu.sources ]; then \
-      printf 'Types: deb\nURIs: 
https://mirrors.edge.kernel.org/ubuntu\nSuites: noble noble-updates 
noble-security\nComponents: main restricted universe multiverse\nSigned-By: 
/usr/share/keyrings/ubuntu-archive-keyring.gpg\n' > 
/etc/apt/sources.list.d/mirror.sources; \
-    elif [ -f /etc/apt/sources.list ]; then \
-      grep -q 'archive.ubuntu.com' /etc/apt/sources.list 2>/dev/null && \
-      sed 
's|archive.ubuntu.com|mirrors.edge.kernel.org|g;s|security.ubuntu.com|mirrors.edge.kernel.org|g'
 \
-        /etc/apt/sources.list > /etc/apt/sources.list.d/mirror.list || true; \
-    fi && \
     apt-get update && \
     ln -s /lib /lib64 && \
     apt install -y --no-install-recommends bash tini libc6 libpam-modules 
krb5-user libnss3 procps net-tools logrotate libssl-dev && \


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

Reply via email to