Intel CI Dockerfile

This commit is contained in:
Ruben Perez 2023-11-27 18:08:49 +01:00
parent 45e6a3b95e
commit b064464ee3
2 changed files with 29 additions and 0 deletions

View File

@ -30,6 +30,7 @@ jobs:
- { image: build-gcc10, dockerfile: build-gcc10, platforms: "linux/amd64", }
- { image: build-gcc11, dockerfile: build-gcc11, platforms: "linux/amd64, linux/arm64/v8" }
- { image: build-gcc13, dockerfile: build-gcc13, platforms: "linux/amd64" }
- { image: build-intel, dockerfile: build-intel, platforms: "linux/amd64" }
- { image: build-cmake3_8, dockerfile: build-cmake3_8, platforms: "linux/amd64", }
- { image: build-noopenssl, dockerfile: build-noopenssl, platforms: "linux/amd64", }
- { image: build-docs, dockerfile: build-docs, platforms: "linux/amd64", }

View File

@ -0,0 +1,28 @@
#
# Copyright (c) 2019-2023 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
FROM ubuntu:22.04
RUN \
apt-get update && \
apt-get --no-install-recommends -y install \
ca-certificates \
libssl-dev \
wget \
python3 \
python-is-python3 \
ninja-build \
git \
gpg \
cmake \
gpg-agent \
mysql-client && \
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 > /dev/null && \
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 && \
apt-get update && \
apt-get --no-install-recommends -y install intel-oneapi-compiler-dpcpp-cpp-2024.0