File tree 1 file changed +0
-14
lines changed
1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change 1
1
ARG BASE_LABEL
2
2
3
- # switch to use the new gpg key
4
- RUN wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB -O key.PUB
5
-
6
3
FROM mpioperator/intel-builder:${BASE_LABEL} as builder
7
4
8
- COPY --from=downloader key.PUB /tmp/key.PUB
9
-
10
- # Add Intel repository key and update apt sources
11
- RUN apt update \
12
- && apt install -y --no-install-recommends gnupg2 ca-certificates apt-transport-https \
13
- && gpg --dearmor -o /usr/share/keyrings/oneapi-archive-keyring.gpg /tmp/key.PUB \
14
- && rm /tmp/key.PUB \
15
- && echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg trusted=yes] https://apt.repos.intel.com/oneapi all main" | tee /etc/apt/sources.list.d/oneapi.list \
16
- && apt autoremove -y \
17
- && rm -rf /var/lib/apt/lists/*
18
-
19
5
COPY pi.cc /src/pi.cc
20
6
RUN bash -c "source /opt/intel/oneapi/setvars.sh && mpicxx /src/pi.cc -o /pi"
21
7
You can’t perform that action at this time.
0 commit comments