Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FROM ubuntu:22.04
COPY docker/ubuntu_micromama_code_server/README.md /home/$MAMBA_USER/Examples/README.md
COPY CheckOneApiCpu /home/$MAMBA_USER/Examples/CheckOneApiCpu
COPY CheckOneApiCuda /home/$MAMBA_USER/Examples/CheckOneApiCuda
COPY GrayScottSeq /home/$MAMBA_USER/Examples/GrayScottSeq
# micromamba dockerfile makes use of SHELL. If it is overwritten
# the auto-activate might not work
# https://micromamba-docker.readthedocs.io/en/latest/advanced_usage.html#use-of-the-shell-command-within-a-dockerfile
# Note: if defining entrypoints one must make sure to not overwrite the
# micromamba entrypoint, otherwise the base environment won't be loaded.
# https://micromamba-docker.readthedocs.io/en/latest/advanced_usage.html#use-of-the-entrypoint-command-within-a-dockerfile
# We need git for setuptools scm to automatically detect version
ENV GIT_SSL_NO_VERIFY=1
USER root
RUN apt-get -y update && apt-get install -y gcc g++ cmake make git wget libtbb-dev curl gpg && \
apt-get -y clean autoremove
RUN wget https://registrationcenter-download.intel.com/akdlm/IRC_NAS/b6f11fab-a0ff-4d44-a5a0-ed59d0fa971c/l_dpcpp-cpp-compiler_p_2024.1.2.504.sh -O intelCompilerInstall.sh && \
chmod a+x ./intelCompilerInstall.sh && \
./intelCompilerInstall.sh -a -s --eula accept && \
rm ./intelCompilerInstall.sh
COPY docker/ubuntu_light/source_intel.sh /bin/source_intel.sh
ENTRYPOINT ["source_intel.sh"]
# docker login gitlab-registry.in2p3.fr
# docker build -t gitlab-registry.in2p3.fr/codeursintensifs/grayscott/grayscottsyclsetup/gray_scott_sycl_ubuntu_light -f docker/ubuntu_light/Dockerfile .
# docker push gitlab-registry.in2p3.fr/codeursintensifs/grayscott/grayscottsyclsetup/gray_scott_sycl_ubuntu_light