Newer
Older
FROM ubuntu:22.04
COPY docker/ubuntu_micromama_code_server/README.md /home/$MAMBA_USER/Examples/README.md
RUN cd /home/$MAMBA_USER/Examples && gitclone https://gitlab.in2p3.fr/CodeursIntensifs/grayscott/GrayScottSyclSetup.git
RUN cd /home/$MAMBA_USER/Examples && gitclone https://gitlab.in2p3.fr/CodeursIntensifs/grayscott/GrayScottSyclCpu.git
# 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