File tree 3 files changed +6
-13
lines changed
3 files changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ RUN apt update \
11
11
&& apt install -y --no-install-recommends gnupg2 ca-certificates apt-transport-https \
12
12
&& gpg --dearmor -o /usr/share/keyrings/oneapi-archive-keyring.gpg /tmp/key.PUB \
13
13
&& rm /tmp/key.PUB \
14
- # TODO (tenzen-y): Once Intel OneAPI supports new parsable PGP format for apt, we should remove `trusted=yes` option.
15
- # REF: https://github.com/kubeflow/mpi-operator/issues/691
16
14
&& 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 \
17
15
&& apt update \
18
16
&& apt install -y --no-install-recommends \
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ COPY --from=downloader key.PUB /tmp/key.PUB
11
11
12
12
# Install Intel oneAPI keys.
13
13
<<<<<<< HEAD
14
+ <<<<<<< HEAD
14
15
RUN apt update \
15
16
<<<<<<< HEAD
16
17
&& apt install -y --no-install-recommends gnupg2 ca-certificates apt-transport-https \
@@ -26,10 +27,13 @@ RUN apt update \
26
27
RUN gpg --dearmor -o /usr/share/keyrings/oneapi-archive-keyring.gpg /tmp/key.PUB \
27
28
&& apt update \
28
29
>>>>>>> 2376f4e (trying gog dearmour first)
30
+ =======
31
+ RUN apt update \
32
+ >>>>>>> 242bbc7 (adding trusted-yes as found on stackoverflow.com)
29
33
&& apt install -y --no-install-recommends gnupg2 ca-certificates apt-transport-https \
30
- # && gpg --dearmor -o /usr/share/keyrings/oneapi-archive-keyring.gpg /tmp/key.PUB \
34
+ && gpg --dearmor -o /usr/share/keyrings/oneapi-archive-keyring.gpg /tmp/key.PUB \
31
35
&& rm /tmp/key.PUB \
32
- && 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 \
36
+ && 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 \
33
37
&& apt update \
34
38
&& apt install -y --no-install-recommends \
35
39
dnsutils \
Original file line number Diff line number Diff line change @@ -2,15 +2,6 @@ ARG BASE_LABEL
2
2
3
3
FROM mpioperator/intel-builder:${BASE_LABEL} as builder
4
4
5
- # Add Intel repository key and update apt sources
6
- RUN curl -fsSL https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor -o /usr/share/keyrings/oneapi-archive-keyring.gpg \
7
- && echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" \
8
- > /etc/apt/sources.list.d/oneapi.list \
9
- && apt update \
10
- && apt install -y --no-install-recommends gnupg2 ca-certificates apt-transport-https \
11
- && apt autoremove -y \
12
- && rm -rf /var/lib/apt/lists/*
13
-
14
5
COPY pi.cc /src/pi.cc
15
6
RUN bash -c "source /opt/intel/oneapi/setvars.sh && mpicxx /src/pi.cc -o /pi"
16
7
You can’t perform that action at this time.
0 commit comments