| 1 |
# SPDX-FileCopyrightText: 2026 Oak Ridge National Laboratory and Contributors |
| 2 |
# |
| 3 |
# SPDX-License-Identifier: Apache-2.0 |
| 4 |
|
| 5 |
ARG BASE_IMAGE=ghcr.io/ornladios/adios2:ci-spack-ubuntu22.04-base |
| 6 |
FROM $BASE_IMAGE |
| 7 |
|
| 8 |
RUN wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor | tee /usr/share/keyrings/oneapi-archive-keyring.gpg && \ |
| 9 |
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | tee /etc/apt/sources.list.d/oneAPI.list && \ |
| 10 |
apt-get update && apt-get install -y \ |
| 11 |
intel-oneapi-compiler-dpcpp-cpp \ |
| 12 |
intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic \ |
| 13 |
intel-oneapi-compiler-fortran && \ |
| 14 |
. /spack/share/spack/setup-env.sh && \ |
| 15 |
/opt/intel/oneapi/modulefiles-setup.sh --force --output-dir=/modules && \ |
| 16 |
apt-get autoremove --purge && \ |
| 17 |
apt-get clean && \ |
| 18 |
rm -rf /var/lib/apt/lists/* |