Skip to content

Commit

Permalink
source activate
Browse files Browse the repository at this point in the history
  • Loading branch information
dhimmel committed May 29, 2021
1 parent df9ac42 commit 1eb3194
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN conda env create \
&& conda clean --all --force-pkgs-dirs --yes

ENV PATH $CONDA_PREFIX/envs/$CONDA_ENV/bin:$PATH
RUN echo "conda activate $CONDA_ENV" > ~/.bashrc
RUN /bin/bash -c "conda activate $CONDA_ENV"
RUN echo "source activate $CONDA_ENV" > ~/.bashrc
RUN /bin/bash -c "source activate $CONDA_ENV"

ENV CONDA_DEFAULT_ENV=$CONDA_ENV

0 comments on commit 1eb3194

Please sign in to comment.