You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "dongjoon-hyun (via GitHub)" <gi...@apache.org> on 2026/03/21 19:26:40 UTC

[PR] [SPARK-56127] Use `zulu-openjdk-alpine` to minimize the Docker image [spark-kubernetes-operator]

dongjoon-hyun opened a new pull request, #568:
URL: https://github.com/apache/spark-kubernetes-operator/pull/568

   ### What changes were proposed in this pull request?
   
   This PR achieves a 13.8% reduction in Docker image size (268MB -> 231MB) by migrating to an Alpine-based runtime.
   
   ```diff
   $ docker images apache/spark-kubernetes-operator:0.9.0-SNAPSHOT
   IMAGE                                             ID             DISK USAGE   CONTENT SIZE   EXTRA
   -apache/spark-kubernetes-operator:0.9.0-SNAPSHOT   a89965d688a9        811MB          268MB
   +apache/spark-kubernetes-operator:0.9.0-SNAPSHOT   c1a9534afdcd        659MB          231MB
   ```
   
   ### Why are the changes needed?
   
   The Alpine-based image is smaller than the Ubuntu-based image, reducing the final Docker image size. This project explicitly excludes all native dependencies (netty-tcnative, rocksdb, snappy, zstd, etc.), making the Alpine transition safe.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Manual Docker image build and verification.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (claude-opus-4-6)


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [SPARK-56127] Use `zulu-openjdk-alpine` to minimize the Docker image [spark-kubernetes-operator]

Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun commented on PR #568:
URL: https://github.com/apache/spark-kubernetes-operator/pull/568#issuecomment-4104115499

   Merged to main


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [SPARK-56127] Use `zulu-openjdk-alpine` to minimize the Docker image [spark-kubernetes-operator]

Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun closed pull request #568: [SPARK-56127] Use `zulu-openjdk-alpine` to minimize the Docker image
URL: https://github.com/apache/spark-kubernetes-operator/pull/568


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [SPARK-56127] Use `zulu-openjdk-alpine` to minimize the Docker image [spark-kubernetes-operator]

Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun commented on PR #568:
URL: https://github.com/apache/spark-kubernetes-operator/pull/568#issuecomment-4104087628

   Thank you, @peter-toth !


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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