Skip to content

Commit 44941a1

Browse files
authored
Trust the Intel OneAPI PGP key until it satisfies new APT PGP requirments (#692)
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
1 parent 90615e9 commit 44941a1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

build/base/intel-builder.Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ RUN apt update \
1111
&& apt install -y --no-install-recommends gnupg2 ca-certificates apt-transport-https \
1212
&& gpg --dearmor -o /usr/share/keyrings/oneapi-archive-keyring.gpg /tmp/key.PUB \
1313
&& rm /tmp/key.PUB \
14-
&& 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 \
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+
&& 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 \
1517
&& apt update \
1618
&& apt install -y --no-install-recommends \
1719
libstdc++-12-dev binutils procps clang \

build/base/intel.Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ RUN apt update \
1313
&& apt install -y --no-install-recommends gnupg2 ca-certificates apt-transport-https \
1414
&& gpg --dearmor -o /usr/share/keyrings/oneapi-archive-keyring.gpg /tmp/key.PUB \
1515
&& rm /tmp/key.PUB \
16-
&& 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 \
16+
# TODO (tenzen-y): Once Intel OneAPI supports new parsable PGP format for apt, we should remove `trusted=yes` option.
17+
# REF: https://github.com/kubeflow/mpi-operator/issues/691
18+
&& 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 \
1719
&& apt update \
1820
&& apt install -y --no-install-recommends \
1921
dnsutils \

0 commit comments

Comments
 (0)