You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Huang Guan Hao (Jira)" <ji...@apache.org> on 2025/12/12 04:08:00 UTC
[jira] [Commented] (HDDS-13426) Trim Ozone docker image size
[ https://issues.apache.org/jira/browse/HDDS-13426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18044594#comment-18044594 ]
Huang Guan Hao commented on HDDS-13426:
---------------------------------------
hello, could I try this issue?
> Trim Ozone docker image size
> ----------------------------
>
> Key: HDDS-13426
> URL: https://issues.apache.org/jira/browse/HDDS-13426
> Project: Apache Ozone
> Issue Type: Task
> Components: docker
> Reporter: Wei-Chiu Chuang
> Priority: Major
> Attachments: Reduce Ozone docker image size.pdf
>
>
> Our official docker image size is a whopping 1.39GB ([https://hub.docker.com/layers/apache/ozone/2.0.0/images/sha256-366480e96ba738b05a5c893096f740d0b36f69d4608f96ae8d0adf896993e392])
> I asked ChatGPT for tips to reduce image size and it estimates a sizeable reduction in image size. Worth trying if someone's up for a test! [https://chatgpt.com/share/6871b841-46f8-800e-a335-3d1e356ac6b7]
> Also we have a few things we can remove from ozone tarball:
> {{{-}rw-r{-}{-}r{-}- 1 hadoop hadoop 71M Apr 4 08:45 ozone-filesystem-hadoop2-2.0.0.jar
> {-}rw-r{-}{-}r{-}- 1 hadoop hadoop 71M Apr 4 08:45 ozone-filesystem-hadoop3-2.0.0.jar
> {-}rw-r{-}{-}r{-}- 1 hadoop hadoop 71M Apr 4 09:11 ozone-filesystem-hadoop3-client-2.0.0.jar}}
>
> We could probably also get rid of python, maven, install a minimal jdk, and use multi-stage to save more space.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org