Skip to content

Commit

Permalink
just use mainpath
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelforget committed Apr 20, 2024
1 parent 2fba656 commit a2bcb07
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ RUN cp ${mainpath}/src/setup.py ${mainpath}/setup.py
RUN cp ${mainpath}/src/runpluto.sh ${mainpath}/runpluto.sh
RUN cp ${mainpath}/src/Project.toml ${mainpath}/Project.toml

ENV HOM /home/${NB_USER}
RUN echo 'alias julia="${HOM}/.juliaup/bin/julia --project=${HOM}"' >> ~/.bashrc
RUN echo 'alias julia="${mainpath}/.juliaup/bin/julia --project=${mainpath}"' >> ~/.bashrc

RUN conda config --env --add channels conda-forge
RUN conda config --env --add channels r
Expand All @@ -50,8 +49,8 @@ RUN conda install octave_kernel texinfo r-irkernel

RUN curl -fsSL https://install.julialang.org | sh -s -- --yes

RUN ${HOM}/.juliaup/bin/julia --project=${HOM} -e "import Pkg; Pkg.instantiate();"
RUN ${HOM}/.juliaup/bin/julia --project=${HOM} ${HOM}/src/warmup.jl
RUN ${mainpath}/.juliaup/bin/julia --project=${mainpath} -e "import Pkg; Pkg.instantiate();"
RUN ${mainpath}/.juliaup/bin/julia --project=${mainpath} ${mainpath}/src/warmup.jl

ENV MPI_INC_DIR /usr/lib/x86_64-linux-gnu/openmpi/include

Expand Down

0 comments on commit a2bcb07

Please sign in to comment.