diff --git a/Dockerfile b/Dockerfile index 88ea85a33..568101039 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,29 +14,29 @@ RUN cd /etc/yum.repos.d/ && \ # Development tools including compilers RUN yum groupinstall "Development Tools" -y --nogpgcheck && \ - yum install -y --nogpgcheck mesa-libGL libXt libXt-devel wget gcc-gfortran lapack vim tmux && \ + yum install -y --nogpgcheck mesa-libGL libXt libXt-devel wget gcc-gfortran lapack vim tmux python3 && \ yum clean all # Install Mamba # Swapped from Conda to Mamba due to Github runner memory constraint -RUN wget --no-check-certificate https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh -O /mamba.sh && \ - chmod +x /mamba.sh && \ - /mamba.sh -b -p /mamba/ && \ - rm /mamba.sh && hash -r +# RUN wget --no-check-certificate https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh -O /mamba.sh && \ +# chmod +x /mamba.sh && \ +# /mamba.sh -b -p /mamba/ && \ +# rm /mamba.sh && hash -r ADD / /sharpy_dir/ # Update mamba and make it run with no user interaction # Cleanup mamba installation -RUN mamba init bash +# RUN mamba init bash # RUN mamba config --set always_yes yes --set changeps1 no -RUN mamba update -q conda +# RUN mamba update -q conda # RUN mamba config --set auto_activate_base false -RUN mamba env create -f /sharpy_dir/utils/environment.yml +# RUN mamba env create -f /sharpy_dir/utils/environment.yml #RUN mamba clean -afy -RUN find /mamba/ -follow -type f -name '*.a' -delete -RUN find /mamba/ -follow -type f -name '*.pyc' -delete -RUN find /mamba/ -follow -type f -name '*.js.map' -delete +# RUN find /mamba/ -follow -type f -name '*.a' -delete +# RUN find /mamba/ -follow -type f -name '*.pyc' -delete +# RUN find /mamba/ -follow -type f -name '*.js.map' -delete #COPY /utils/docker/* /root/ RUN ln -s /sharpy_dir/utils/docker/* /root/