Commit fec23bd5 authored by Katharina Höflich's avatar Katharina Höflich

Decrease on-build layer size

parent b2a930cf
Pipeline #26250 failed with stage
in 9 seconds
......@@ -27,14 +27,16 @@ ARG SDK_INSTALL_DIR=/nvidia/hpc_sdk
# Install system dependencies
RUN yum update -y \
&& yum install wget -y \
&& yum clean all \
&& yum clean all
# Install Nvidia compiler SDK
&& wget --quiet https://developer.download.nvidia.com/hpc-sdk/${NVIDIA_SDK_VERSION}.tar.gz \
RUN wget --quiet https://developer.download.nvidia.com/hpc-sdk/${NVIDIA_SDK_VERSION}.tar.gz \
&& tar xpzf ${NVIDIA_SDK_VERSION}.tar.gz \
&& rm -f ${NVIDIA_SDK_VERSION}.tar.gz \
&& export NVHPC_SILENT=true && export NVHPC_INSTALL_DIR=$SDK_INSTALL_DIR && export NVHPC_INSTALL_TYPE=single \
&& ${NVIDIA_SDK_VERSION}/install \
# Clean-up obsolete files/directories
&& rm -rf ${NVIDIA_SDK_VERSION}.tar.gz ${NVIDIA_SDK_VERSION}
&& rm -rf ${NVIDIA_SDK_VERSION}
# Set-up Nvidia SDK environment settings
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment