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

adoroszlai pushed a commit to branch slim
in repository https://gitbox.apache.org/repos/asf/ozone-docker.git


The following commit(s) were added to refs/heads/slim by this push:
     new 1ad65f1  HDDS-14230. Create slim ozone image (#47)
1ad65f1 is described below

commit 1ad65f13bb5eb0c716a802404939c61e2dc2288e
Author: KUAN-HAO HUANG <[email protected]>
AuthorDate: Fri Dec 26 16:14:44 2025 +0800

    HDDS-14230. Create slim ozone image (#47)
---
 Dockerfile | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index f410a6d..d5c7499 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,14 +14,33 @@
 # limitations under the License.
 
 ARG OZONE_RUNNER_IMAGE=apache/ozone-runner
-ARG OZONE_RUNNER_VERSION=20250410-1-jdk21
+ARG OZONE_RUNNER_VERSION=20251226-2-jdk21-slim
 FROM ${OZONE_RUNNER_IMAGE}:${OZONE_RUNNER_VERSION}
 
 ARG OZONE_VERSION=2.0.0
 ARG 
OZONE_URL="https://www.apache.org/dyn/closer.lua?action=download&filename=ozone/${OZONE_VERSION}/ozone-${OZONE_VERSION}.tar.gz";
 
 WORKDIR /opt
-RUN sudo rm -rf /opt/hadoop && curl -LSs -o ozone.tar.gz $OZONE_URL && tar zxf 
ozone.tar.gz && rm ozone.tar.gz && mv ozone* hadoop
+RUN sudo rm -rf /opt/hadoop && \
+    curl -LSs -o ozone.tar.gz $OZONE_URL && \
+    tar zxf ozone.tar.gz && \
+    rm ozone.tar.gz && \
+    mv ozone* hadoop && \
+    cd hadoop && \
+    sudo rm -rf \
+        CONTRIBUTING.md \
+        compose \
+        docs \
+        examples \
+        HISTORY.md \
+        kubernetes \
+        README.md \
+        SECURITY.md \
+        share/ozone/byteman \
+        share/ozone/lib/*-docs-*.jar \
+        share/ozone/lib/ozone-filesystem-hadoop*.jar \
+        smoketest \
+        tests
 
 WORKDIR /opt/hadoop
 


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

Reply via email to