adoroszlai commented on code in PR #47:
URL: https://github.com/apache/ozone-docker/pull/47#discussion_r2647665136


##########
Dockerfile:
##########
@@ -14,14 +14,34 @@
 # limitations under the License.
 
 ARG OZONE_RUNNER_IMAGE=apache/ozone-runner
-ARG OZONE_RUNNER_VERSION=20250410-1-jdk21
+ARG OZONE_RUNNER_VERSION=20251225-1-jdk21-slim

Review Comment:
   ```suggestion
   ARG OZONE_RUNNER_VERSION=20251226-1-jdk21-slim
   ```



##########
Dockerfile:
##########
@@ -14,14 +14,34 @@
 # limitations under the License.
 
 ARG OZONE_RUNNER_IMAGE=apache/ozone-runner
-ARG OZONE_RUNNER_VERSION=20250410-1-jdk21
+ARG OZONE_RUNNER_VERSION=20251225-1-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 \
+        smoketest \
+        tests && \
+    sudo rm -f \
+        share/ozone/lib/*-docs-*.jar \
+        share/ozone/lib/ozone-filesystem-hadoop*.jar

Review Comment:
   ```suggestion
           share/ozone/lib/*-docs-*.jar \
           share/ozone/lib/ozone-filesystem-hadoop*.jar \
           smoketest \
           tests
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to