Skip to content

Commit ac4bd7e

Browse files
dj176050weimingzha0
authored andcommitted
[Docker] Update Docker File to support Intel OneAPI
1 parent f9d09dd commit ac4bd7e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

utils/docker/Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,10 @@ RUN cd /tmp && \
228228
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DFLATBUFFERS_BUILD_SHAREDLIB=ON && make -j && make install && \
229229
rm -fr /tmp/flatbuffers
230230

231+
# INSATLL ONEAPI
232+
RUN if [[ "${BASE_IMAGE}" != "nvidia" ]]; then wget https://registrationcenter-download.intel.com/akdlm/irc_nas/17769/l_BaseKit_p_2021.2.0.2883_offline.sh && \
233+
chmod +x ./l_BaseKit_p_2021.2.0.2883_offline.sh && \
234+
./l_BaseKit_p_2021.2.0.2883_offline.sh -s -a --silent --eula accept; fi
231235

232236
RUN mkdir -p /var/run/sshd
233237
RUN sed -i 's/prohibit-password/yes/' /etc/ssh/sshd_config

0 commit comments

Comments
 (0)