Commit d3079a72 authored by Bengt Giger's avatar Bengt Giger
Browse files

/etc/environment not sourced, use /etc/profile.d to fix conda

parent 0e5d1534
Pipeline #140003 passed with stages
in 6 minutes and 35 seconds
......@@ -25,8 +25,7 @@ RUN mamba install -c conda-forge \
jupyterlab-system-monitor jupyterlab-git \
uncertainties nbgrader pylatex biopython ete3 nbgitpuller
# Works!
RUN echo source $HOME/.bashrc >> /etc/profile && echo 'export CONDA_ENVS_PATH=$HOME/.conda/envs' >> /etc/environment
RUN echo 'export CONDA_ENVS_PATH=$HOME/.conda/envs' >> /etc/profile.d/ && echo source $HOME/.bashrc >> /etc/profile.d/
USER 1000
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment