You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by we...@apache.org on 2021/05/19 12:28:02 UTC

[hadoop] branch branch-3.3 updated: HADOOP-17224. Install Intel ISA-L library in Dockerfile. (#2537)

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

weichiu pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.3 by this push:
     new 932a168  HADOOP-17224. Install Intel ISA-L library in Dockerfile. (#2537)
932a168 is described below

commit 932a16837aea8c4356caffdd10449964414191cb
Author: Takanobu Asanuma <ta...@apache.org>
AuthorDate: Fri Jan 22 10:27:06 2021 +0900

    HADOOP-17224. Install Intel ISA-L library in Dockerfile. (#2537)
    
    (cherry picked from commit d09e3c929f28be42c1808cbf82568c77c5ef8e3b)
---
 dev-support/docker/Dockerfile | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile
index e4a55b2..1d5062f 100644
--- a/dev-support/docker/Dockerfile
+++ b/dev-support/docker/Dockerfile
@@ -173,6 +173,26 @@ RUN curl -L -s -S \
    && shasum -a 512 /bin/hadolint | \
         awk '$1!="734e37c1f6619cbbd86b9b249e69c9af8ee1ea87a2b1ff71dccda412e9dac35e63425225a95d71572091a3f0a11e9a04c2fc25d9e91b840530c26af32b9891ca" {exit(1)}'
 
+######
+# Intel ISA-L 2.29.0
+######
+# hadolint ignore=DL3003,DL3008
+RUN mkdir -p /opt/isa-l-src \
+    && apt-get -q update \
+    && apt-get install -y --no-install-recommends automake yasm \
+    && apt-get clean \
+    && curl -L -s -S \
+      https://github.com/intel/isa-l/archive/v2.29.0.tar.gz \
+      -o /opt/isa-l.tar.gz \
+    && tar xzf /opt/isa-l.tar.gz --strip-components 1 -C /opt/isa-l-src \
+    && cd /opt/isa-l-src \
+    && ./autogen.sh \
+    && ./configure \
+    && make \
+    && make install \
+    && cd /root \
+    && rm -rf /opt/isa-l-src
+
 ###
 # Avoid out of memory errors in builds
 ###

---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org