Skip to content

Commit a727d45

Browse files
fixing self inflicted damages of updating wrong file
Signed-off-by: Vikas Saxena <[email protected]>
1 parent 31679b4 commit a727d45

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

Diff for: examples/v2beta1/pi/intel.Dockerfile

-14
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,7 @@
11
ARG BASE_LABEL
22

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-
63
FROM mpioperator/intel-builder:${BASE_LABEL} as builder
74

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-
195
COPY pi.cc /src/pi.cc
206
RUN bash -c "source /opt/intel/oneapi/setvars.sh && mpicxx /src/pi.cc -o /pi"
217

0 commit comments

Comments
 (0)