Trust the Intel OneAPI PGP key until it satisfies new APT PGP requirments (#692)
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
This commit is contained in:
parent
90615e9b75
commit
44941a1631
|
|
@ -11,7 +11,9 @@ RUN apt update \
|
|||
&& apt install -y --no-install-recommends gnupg2 ca-certificates apt-transport-https \
|
||||
&& gpg --dearmor -o /usr/share/keyrings/oneapi-archive-keyring.gpg /tmp/key.PUB \
|
||||
&& rm /tmp/key.PUB \
|
||||
&& 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 \
|
||||
# TODO (tenzen-y): Once Intel OneAPI supports new parsable PGP format for apt, we should remove `trusted=yes` option.
|
||||
# REF: https://github.com/kubeflow/mpi-operator/issues/691
|
||||
&& 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 \
|
||||
&& apt update \
|
||||
&& apt install -y --no-install-recommends \
|
||||
libstdc++-12-dev binutils procps clang \
|
||||
|
|
|
|||
|
|
@ -13,7 +13,9 @@ RUN apt update \
|
|||
&& apt install -y --no-install-recommends gnupg2 ca-certificates apt-transport-https \
|
||||
&& gpg --dearmor -o /usr/share/keyrings/oneapi-archive-keyring.gpg /tmp/key.PUB \
|
||||
&& rm /tmp/key.PUB \
|
||||
&& 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 \
|
||||
# TODO (tenzen-y): Once Intel OneAPI supports new parsable PGP format for apt, we should remove `trusted=yes` option.
|
||||
# REF: https://github.com/kubeflow/mpi-operator/issues/691
|
||||
&& 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 \
|
||||
&& apt update \
|
||||
&& apt install -y --no-install-recommends \
|
||||
dnsutils \
|
||||
|
|
|
|||
Loading…
Reference in New Issue