You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2026/09/28 18:12:39 UTC

(spark-kubernetes-operator) branch main updated: [SPARK-59834] Upgrade the base image to `alpine:3.24`

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 0ca7e67e [SPARK-59834] Upgrade the base image to `alpine:3.24`
0ca7e67e is described below

commit 0ca7e67eacf437ef3f408050281e038061163526
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Mon Sep 28 11:12:32 2026 -0700

    [SPARK-59834] Upgrade the base image to `alpine:3.24`
    
    ### What changes were proposed in this pull request?
    
    This PR aims to upgrade the base image of the final stage of `build-tools/docker/Dockerfile` from `alpine:3.23` to `alpine:3.24`.
    
    ### Why are the changes needed?
    
    `Alpine 3.24` is the latest stable release (`alpine:latest` is `3.24.2`) and it is supported longer than `Alpine 3.23`.
    
    | Branch | Release Date | End of Support |
    | :-: | :-: | :-: |
    | v3.23 | 2025-12-03 | 2027-11-01 |
    | v3.24 | 2026-06-09 | 2028-06-01 |
    
    - https://alpinelinux.org/posts/Alpine-3.24.0-released.html (2026-06-09)
    - https://alpinelinux.org/releases/
    
    In addition, the `jlink` stage image, `azul/zulu-openjdk-alpine:26` (Zulu 26.0.2.1), is already based on `Alpine 3.24.2`. This PR makes the final stage use the same Alpine release as the stage where the custom JRE is created.
    
    - https://hub.docker.com/r/azul/zulu-openjdk-alpine/tags?name=26.0.2.1
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Pass the CIs. In addition, I manually built the image on `linux/arm64` and verified that the operator starts in the same way as with `alpine:3.23`. The image size is almost the same (+1.6KB).
    
    ```
    $ docker run --rm --entrypoint cat apache/spark-kubernetes-operator:1.1.0-SNAPSHOT /etc/alpine-release
    3.24.2
    
    $ docker run --rm apache/spark-kubernetes-operator:1.1.0-SNAPSHOT java -version
    openjdk version "26.0.2.1" 2026-08-18
    OpenJDK Runtime Environment Zulu26.32+203-CA (build 26.0.2.1+1)
    OpenJDK 64-Bit Server VM Zulu26.32+203-CA (build 26.0.2.1+1, mixed mode)
    ```
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    Generated-by: Claude Opus 5.5
    
    Closes #901 from dongjoon-hyun/SPARK-59834.
    
    Authored-by: Dongjoon Hyun <do...@apache.org>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 build-tools/docker/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-tools/docker/Dockerfile b/build-tools/docker/Dockerfile
index 46a018f1..d195bc9c 100644
--- a/build-tools/docker/Dockerfile
+++ b/build-tools/docker/Dockerfile
@@ -41,7 +41,7 @@ RUN apk add --no-cache binutils && \
       --no-man-pages \
       --output /opt/custom-jre
 
-FROM alpine:3.23
+FROM alpine:3.24
 
 ARG APP_VERSION
 ARG SPARK_UID=185


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org