Commit 0e5d1534 authored by Bengt Giger's avatar Bengt Giger
Browse files

Define stuff globally; user files would be shadowed

parent 5b5ca348
Pipeline #140001 passed with stages
in 6 minutes and 36 seconds
......@@ -26,8 +26,9 @@ RUN mamba install -c conda-forge \
uncertainties nbgrader pylatex biopython ete3 nbgitpuller
# Works!
# RUN echo source $HOME/.bashrc >> /etc/profile
RUN echo source $HOME/.bashrc >> /etc/profile && echo 'export CONDA_ENVS_PATH=$HOME/.conda/envs' >> /etc/environment
USER 1000
RUN echo 'export CONDA_ENVS_PATH=$HOME/.conda/envs' >> $HOME/.bashrc conda init bash && echo source $HOME/.bashrc >> $HOME/.bash_profile
# Doesn't work
# RUN echo 'export CONDA_ENVS_PATH=$HOME/.conda/envs' >> $HOME/.bashrc conda init bash && echo source $HOME/.bashrc >> $HOME/.bash_profile
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