This is an automated email from the ASF dual-hosted git repository. adoroszlai pushed a commit to branch jdk8 in repository https://gitbox.apache.org/repos/asf/ozone-docker-runner.git
commit 0e92427d02c73c6fe5c1b4b0aee34d7df8f71a5d 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 | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/Dockerfile b/Dockerfile index 90c5410..ce06983 100644 --- a/Dockerfile +++ b/Dockerfile @@ -68,20 +68,6 @@ 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-1.8.0-openjdk ENV PATH=/opt/hadoop/libexec:$PATH:$JAVA_HOME/bin:/opt/hadoop/bin --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
