dongjoon-hyun commented on code in PR #55436: URL: https://github.com/apache/spark/pull/55436#discussion_r3439519903
########## 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: In addition, `noble` is wrong by default because Apache Spark currently uses `azul/zulu-openjdk` which supports only `jammy`. https://github.com/apache/spark/blob/982baad5b8ad8415f4d95a4e8bedd7ef016da66f/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile#L17-L18 -- 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]
