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-runner.git

commit 8c80ec83459e03a902373f889e42ce0776084c71
Author: Sammi Chen <[email protected]>
AuthorDate: Thu Jun 25 04:30:26 2026 +0800

    Revert "HDDS-12804. Include Hadoop native library libhadoop.so (#46)" (#76)
    
    (cherry picked from commit fb781a3c1208a9fe0fb244413b3d8f45a937d073)
---
 Dockerfile | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 53dbf69..558890e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -57,23 +57,7 @@ RUN set -eux ; \
     chmod +x dumb-init ; \
     mv dumb-init /usr/local/bin/dumb-init
 
-
-# Hadoop native libary
-RUN set -eux ; \
-    ARCH="$(arch)" ; \
-    hadoop_version=3.4.2 ; \
-    case "${ARCH}" in \
-        x86_64)  file=hadoop-${hadoop_version}-lean.tar.gz ;; \
-        aarch64) file=hadoop-${hadoop_version}-aarch64-lean.tar.gz ;; \
-        *) echo "Unsupported architecture: ${ARCH}"; exit 1 ;; \
-    esac; \
-    curl -L 
"https://www.apache.org/dyn/closer.lua?action=download&filename=hadoop/common/hadoop-${hadoop_version}/$file";
 -o "hadoop-${hadoop_version}.tar.gz" && \
-    tar xzvf hadoop-${hadoop_version}.tar.gz -C /usr/lib --strip-components 3 
"hadoop-${hadoop_version}/lib/native/libhadoop.*" && \
-    chown --no-dereference root:root /usr/lib/libhadoop* && \
-    rm -f hadoop-${hadoop_version}.tar.gz
-
 ENV JAVA_HOME=/usr/lib/jvm/jre-21-openjdk
-
 ENV PATH=/opt/hadoop/libexec:$PATH:$JAVA_HOME/bin:/opt/hadoop/bin
 
 RUN id=1000; \


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

Reply via email to