From 43a3a81454cadeed59a217f778350c3d48a44232 Mon Sep 17 00:00:00 2001 From: goandrei Date: Wed, 22 Jun 2022 11:53:48 +0000 Subject: [PATCH 1/2] Install Intel Compiler(ICX/ICPX) --- docker/centos7/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker/centos7/Dockerfile b/docker/centos7/Dockerfile index 56159ba2a8..26b6aa724c 100644 --- a/docker/centos7/Dockerfile +++ b/docker/centos7/Dockerfile @@ -441,6 +441,11 @@ RUN if [ "$(uname -m)" == "aarch64" ]; then \ ./rustup-init -y --no-modify-path --profile minimal --default-toolchain ${RUST_VERSION} --default-host ${RUST_ARCH} && \ rm -rf /tmp/* +# build/install Intel Compiler(ICX/ICPX) +RUN wget --progress=bar:force https://registrationcenter-download.intel.com/akdlm/irc_nas/18679/l_HPCKit_p_2022.2.0.191_offline.sh && \ + sh ./l_HPCKit_p_2022.2.0.191_offline.sh -a -s --eula accept && \ + rm l_HPCKit_p_2022.2.0.191_offline.sh + # =========================== END OF LAYER: build ============================== FROM build as devel From c86d89e9a117d1cee4966ff758d61e74292ef70b Mon Sep 17 00:00:00 2001 From: goandrei Date: Fri, 24 Jun 2022 06:34:17 +0000 Subject: [PATCH 2/2] Use curl instead of wget --- docker/centos7/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/centos7/Dockerfile b/docker/centos7/Dockerfile index 26b6aa724c..83c94d3fc1 100644 --- a/docker/centos7/Dockerfile +++ b/docker/centos7/Dockerfile @@ -442,7 +442,7 @@ RUN if [ "$(uname -m)" == "aarch64" ]; then \ rm -rf /tmp/* # build/install Intel Compiler(ICX/ICPX) -RUN wget --progress=bar:force https://registrationcenter-download.intel.com/akdlm/irc_nas/18679/l_HPCKit_p_2022.2.0.191_offline.sh && \ +RUN curl -LsO https://registrationcenter-download.intel.com/akdlm/irc_nas/18679/l_HPCKit_p_2022.2.0.191_offline.sh && \ sh ./l_HPCKit_p_2022.2.0.191_offline.sh -a -s --eula accept && \ rm l_HPCKit_p_2022.2.0.191_offline.sh