dongjoon-hyun commented on code in PR #55436:
URL: https://github.com/apache/spark/pull/55436#discussion_r3439498297


##########
resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile:
##########
@@ -34,6 +34,13 @@ 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; \

Review Comment:
   Oh, @sarutak . Unfortunately, I found that this introduce a big regression 
because this hard-coded `noble` at Apache Spark 4.2.0.
   
   Unlike `Infra` image, this causes a failure in the following Apache Spark 
K8s image building command which succeeded before.
   ```
   $ bin/docker-image-tool.sh -b java_image_name=eclipse-temurin -b 
java_image_tag=25-jre-resolute build
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to