1 parent
2dcbdcdaf9
commit
2996a1d1d0
3 files changed
+20
-17
No files matched your search
+4
-4
@@ -71,9 +71,9 @@ RUN source activate ${CONDA_ENV_NAME} \
|
||||
&& pre-commit install
|
||||
|
||||
|
||||
# Set ${CONDA_ENV_NAME} to default virutal environment
|
||||
RUN echo "source activate ${CONDA_ENV_NAME}" >> ~/.bashrc
|
||||
|
||||
|
||||
# Install .autoenv for automatic conda env activation and tab completion
|
||||
RUN echo "autoenv() { [[ -f \"\$PWD/.autoenv\" ]] && source .autoenv ; } ; cd() { builtin cd \"\$@\" ; autoenv ; } ; autoenv" >> ~/.bashrc
|
||||
|
||||
|
||||
# Set ${CONDA_ENV_NAME} to default virutal environment
|
||||
RUN echo "source activate ${CONDA_ENV_NAME}" > ~/.bashrc
|
||||
Reference in new issue
Block a user