File tree 5 files changed +14
-14
lines changed
5 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 1
- FROM debian:bookworm
1
+ FROM debian:trixie
2
2
3
3
ARG port=2222
4
4
Original file line number Diff line number Diff line change @@ -2,23 +2,23 @@ FROM bash AS downloader
2
2
3
3
RUN wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB -O key.PUB
4
4
5
- FROM debian:bookworm
5
+ FROM debian:trixie
6
6
7
7
COPY --from=downloader key.PUB /tmp/key.PUB
8
8
9
9
# Install Intel oneAPI keys.
10
10
RUN apt update \
11
- && apt install -y --no-install-recommends gnupg2 ca-certificates \
12
- && apt-key add /tmp/key.PUB \
11
+ && apt install -y --no-install-recommends gnupg2 ca-certificates apt-transport-https \
12
+ && gpg --dearmor -o /usr/share/keyrings/oneapi-archive-keyring.gpg /tmp/key.PUB \
13
13
&& rm /tmp/key.PUB \
14
- && echo "deb https://apt.repos.intel.com/oneapi all main" | tee /etc/apt/sources.list.d/oneAPI.list \
15
- && apt remove -y gnupg2 ca-certificates \
16
- && apt autoremove -y \
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 \
17
15
&& apt update \
18
16
&& apt install -y --no-install-recommends \
19
17
libstdc++-12-dev binutils procps clang \
20
18
intel-oneapi-compiler-dpcpp-cpp \
21
19
intel-oneapi-mpi-devel-2021.13 \
20
+ && apt remove -y gnupg2 ca-certificates apt-transport-https \
21
+ && apt autoremove -y \
22
22
&& rm -rf /var/lib/apt/lists/*
23
23
24
24
ENV I_MPI_CC=clang I_MPI_CXX=clang++
Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ COPY --from=downloader key.PUB /tmp/key.PUB
10
10
11
11
# Install Intel oneAPI keys.
12
12
RUN apt update \
13
- && apt install -y --no-install-recommends gnupg2 ca-certificates \
14
- && apt-key add /tmp/key.PUB \
13
+ && apt install -y --no-install-recommends gnupg2 ca-certificates apt-transport-https \
14
+ && gpg --dearmor -o /usr/share/keyrings/oneapi-archive-keyring.gpg /tmp/key.PUB \
15
15
&& rm /tmp/key.PUB \
16
- && echo "deb https://apt.repos.intel.com/oneapi all main" | tee /etc/apt/sources.list.d/oneAPI.list \
17
- && apt remove -y gnupg2 ca-certificates \
18
- && apt autoremove -y \
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 \
19
17
&& apt update \
20
18
&& apt install -y --no-install-recommends \
21
19
dnsutils \
22
20
intel-oneapi-mpi-2021.13 \
21
+ && apt remove -y gnupg2 ca-certificates \
22
+ && apt autoremove -y \
23
23
&& rm -rf /var/lib/apt/lists/*
24
24
25
25
COPY entrypoint.sh /entrypoint.sh
Original file line number Diff line number Diff line change 1
- FROM debian:bookworm as builder
1
+ FROM debian:trixie as builder
2
2
3
3
RUN apt update \
4
4
&& apt install -y --no-install-recommends \
Original file line number Diff line number Diff line change 1
- FROM debian:bookworm as builder
1
+ FROM debian:trixie as builder
2
2
3
3
RUN apt update \
4
4
&& apt install -y --no-install-recommends \
You can’t perform that action at this time.
0 commit comments