diff --git a/common/ccbr_ubuntu_base_20.04/Dockerfile.v7 b/common/ccbr_ubuntu_base_20.04/Dockerfile.v7 index a20ff2d..54e8c6d 100644 --- a/common/ccbr_ubuntu_base_20.04/Dockerfile.v7 +++ b/common/ccbr_ubuntu_base_20.04/Dockerfile.v7 @@ -87,6 +87,7 @@ RUN echo 'export PATH=/opt2/conda/bin:$PATH' > /etc/profile.d/conda.sh && \ wget --quiet "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh" -O ~/miniforge3.sh && \ /bin/bash ~/miniforge3.sh -b -p /opt2/conda && \ rm ~/miniforge3.sh && chmod 777 -R /opt2/conda/ +ENV PATH="/opt2/conda/bin:$PATH" # R, python, and other packages available in conda should be installed with mamba here. # Specify all dependencies in environment.yml @@ -98,7 +99,7 @@ ENV PATH="/opt2/conda/envs/${CONDA_ENV}/bin:$PATH" ENV PYTHONPATH="" # Fix python -RUN ln -s /opt2/conda/bin/python /usr/bin/python \ +RUN ln -s /opt2/conda/bin/python3 /usr/bin/python \ && ln -s /usr/bin/python2.7 /usr/bin/python2 # cleanup etc