diff --git a/txpipe-min-failing/Dockerfile b/txpipe-min-failing/Dockerfile index 2486455..008159a 100644 --- a/txpipe-min-failing/Dockerfile +++ b/txpipe-min-failing/Dockerfile @@ -6,17 +6,11 @@ ENV MPI_VERSION=4.0.2 # Show some linux version info RUN cat /etc/*-release -# Install make -RUN apt-get update -y \ - && DEBIAN_FRONTEND="noninteractive" apt-get install -y make \ - && apt-get clean all +RUN mamba install compilers=1.7.0 make -# We need a C compiler temporarily to install MPICH. -# Then we install following instructions at +# Following: # https://docs.nersc.gov/development/containers/shifter/how-to-use/#using-mpi-in-shifter -# We remove the installation afterwards RUN apt-get update -y \ - && DEBIAN_FRONTEND="noninteractive" apt-get install -y gcc gfortran \ && mkdir /opt/mpich \ && cd /opt/mpich \ && wget http://www.mpich.org/static/downloads/${MPI_VERSION}/mpich-${MPI_VERSION}.tar.gz \ @@ -26,6 +20,7 @@ RUN apt-get update -y \ && make \ && make install \ && rm -rf /opt/mpich + RUN /sbin/ldconfig # check we are using the conda python