diff --git a/.github/workflows/docker-bases.yml b/.github/workflows/docker-bases.yml index 96846320fc5..9c9b10f3d34 100644 --- a/.github/workflows/docker-bases.yml +++ b/.github/workflows/docker-bases.yml @@ -139,7 +139,9 @@ jobs: file: './docker/Dockerfile.nvidia' push: true target: 'nvc' - build-args: 'arch=nvc' + build-args: | + arch=nvc + ver=nvhpc-23-5 tags: 'devitocodes/bases:nvidia-nvc' - name: NVCC image @@ -149,7 +151,9 @@ jobs: file: './docker/Dockerfile.nvidia' push: true target: 'nvcc' - build-args: 'arch=nvcc' + build-args: | + arch=nvcc + ver=nvhpc-23-5 tags: 'devitocodes/bases:nvidia-nvcc' - name: NVC host image @@ -159,7 +163,9 @@ jobs: file: './docker/Dockerfile.nvidia' push: true target: 'nvc-host' - build-args: 'arch=nvc-host' + build-args: | + arch=nvc-host + ver=nvhpc-23-5 tags: 'devitocodes/bases:cpu-nvc' ####################################################### diff --git a/docker/Dockerfile.nvidia b/docker/Dockerfile.nvidia index 8b0086a8ca7..37a511ba39e 100644 --- a/docker/Dockerfile.nvidia +++ b/docker/Dockerfile.nvidia @@ -1,7 +1,6 @@ ############################################################## # This Dockerfile contains the NVidia HPC SDK (nvc, cuda, OpenMPI) for Devito ############################################################## -ARG ver ARG pyversion=python:3.9 ARG arch="nvc" @@ -15,7 +14,6 @@ ENV DEBIAN_FRONTEND noninteractive RUN apt-get update -y && \ apt-get install -y -q gpg apt-utils curl wget vim libnuma-dev tmux numactl - # nodesource: nvdashboard requires nodejs>=10 RUN curl https://developer.download.nvidia.com/hpc-sdk/ubuntu/DEB-GPG-KEY-NVIDIA-HPC-SDK | gpg --yes --dearmor -o /usr/share/keyrings/nvidia-hpcsdk-archive-keyring.gpg RUN echo 'deb [trusted=yes, signed-by=/usr/share/keyrings/nvidia-hpcsdk-archive-keyring.gpg] https://developer.download.nvidia.com/hpc-sdk/ubuntu/amd64 /' | tee /etc/apt/sources.list.d/nvhpc.list