From 53010e2cb569d3a3233c8e51e13d3934c95d9d62 Mon Sep 17 00:00:00 2001 From: Stephen Nicholas Swatman Date: Fri, 25 Oct 2024 11:20:38 +0200 Subject: [PATCH] Update Ubuntu 24.04 ROCm+OneAPI image This updates updates the version of OneAPI used to 2024.2.1, updates the ROCm repository, and also makes the call to the CodePlay download API more precisely defined. --- ubuntu2404_rocm_oneapi/Dockerfile | 6 +++--- ubuntu2404_rocm_oneapi/rocm.list | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ubuntu2404_rocm_oneapi/Dockerfile b/ubuntu2404_rocm_oneapi/Dockerfile index d353443..078a45a 100644 --- a/ubuntu2404_rocm_oneapi/Dockerfile +++ b/ubuntu2404_rocm_oneapi/Dockerfile @@ -36,15 +36,15 @@ RUN curl -SL https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRO COPY oneapi.list /etc/apt/sources.list.d/ # Install oneAPI. -ARG ONEAPI_VERSION=2024.2 +ARG ONEAPI_VERSION=2024.2.1 RUN apt-get update && \ apt-get install -y intel-oneapi-compiler-dpcpp-cpp-${ONEAPI_VERSION} && \ apt-get clean -y # Install the CodePlay AMD plugin on top of oneAPI. -ARG CODEPLAY_PLUGIN_VERSION=2024.2.0 +ARG CODEPLAY_PLUGIN_VERSION=2024.2.1 RUN curl -SL \ - "https://developer.codeplay.com/api/v1/products/download?product=oneapi&variant=amd&version=${CODEPLAY_PLUGIN_VERSION}" \ + "https://developer.codeplay.com/api/v1/products/download?product=oneapi&variant=amd&version=${CODEPLAY_PLUGIN_VERSION}&filters[]=${ROCM_VERSION}&filters[]=linux" \ -o plugin.sh && \ sh plugin.sh --install-dir /opt/intel/oneapi --yes && \ rm plugin.sh diff --git a/ubuntu2404_rocm_oneapi/rocm.list b/ubuntu2404_rocm_oneapi/rocm.list index 85c3797..d6d5fc2 100644 --- a/ubuntu2404_rocm_oneapi/rocm.list +++ b/ubuntu2404_rocm_oneapi/rocm.list @@ -1 +1 @@ -deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/6.1 focal main +deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/6.1 jammy main