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

ptoth pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark-docker.git


The following commit(s) were added to refs/heads/master by this push:
     new 2ebf694  [SPARK-53730] Switch Spark 3.5 Java 11 docker registry images 
to 11-jammy
2ebf694 is described below

commit 2ebf694ad45fee6f4beeeb4204bcdb01d73c988f
Author: Peter Toth <[email protected]>
AuthorDate: Tue Oct 7 18:34:28 2025 +0200

    [SPARK-53730] Switch Spark 3.5 Java 11 docker registry images to 11-jammy
    
    ### What changes were proposed in this pull request?
    
    This PR proposes to switch future Apache Spark 3.5 Java 11 docket images to 
`11-jammy`.
    We have applied a similar change to Apache Spark repo Java 17 dockerfile in 
[SPARK-49005](https://issues.apache.org/jira/browse/SPARK-49005) / 
https://github.com/apache/spark/pull/47488.
    
    ### Why are the changes needed?
    
    The current `11-jre-focal` is no longer supported by Docker Library: 
https://github.com/docker-library/official-images/pull/19948#issuecomment-3335268352
    
    ### Does this PR introduce _any_ user-facing change?
    
    No, we will not republish the 3.5.7 Apache Docker Hub image.
    
    ### How was this patch tested?
    
    Manual review.
    
    Closes #95 from peter-toth/SPARK-53730-switch-spark-3.5-to-11-jammy.
    
    Authored-by: Peter Toth <[email protected]>
    Signed-off-by: Peter Toth <[email protected]>
---
 3.5.7/scala2.12-java11-ubuntu/Dockerfile | 2 +-
 add-dockerfiles.sh                       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/3.5.7/scala2.12-java11-ubuntu/Dockerfile 
b/3.5.7/scala2.12-java11-ubuntu/Dockerfile
index 524f778..9eef8bf 100644
--- a/3.5.7/scala2.12-java11-ubuntu/Dockerfile
+++ b/3.5.7/scala2.12-java11-ubuntu/Dockerfile
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-FROM eclipse-temurin:11-jre-focal
+FROM eclipse-temurin:11-jammy
 
 ARG spark_uid=185
 
diff --git a/add-dockerfiles.sh b/add-dockerfiles.sh
index c50f4e7..c418c02 100755
--- a/add-dockerfiles.sh
+++ b/add-dockerfiles.sh
@@ -80,7 +80,7 @@ for TAG in $TAGS; do
     elif echo $TAG | grep -q "java17"; then
         OPTS+=" --java-version 17 --image eclipse-temurin:17-jammy"
     elif echo $TAG | grep -q "java11"; then
-        OPTS+=" --java-version 11 --image eclipse-temurin:11-jre-focal"
+        OPTS+=" --java-version 11 --image eclipse-temurin:11-jammy"
     fi
     
     OPTS+=" --spark-version $VERSION"


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

Reply via email to