Skip to content

Commit

Permalink
Do not install scalapach-mpich from ubuntu repos in the final image
Browse files Browse the repository at this point in the history
  • Loading branch information
mbkumar authored Jan 18, 2022
1 parent eaafe0e commit 14b97cc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ci/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,8 @@ RUN \
cd .. && \
rm -rf $mpich_prefix


RUN /sbin/ldconfig

# RUN mkdir -p /src

RUN \
git clone --depth 1 https://github.com/Reference-ScaLAPACK/scalapack.git /src/scalapack && \
cd /src/scalapack && \
Expand Down Expand Up @@ -80,7 +77,10 @@ LABEL maintainer.name="Bharat Medasani" \
version="0.07" \
description="Docker file for simsopt container based on ubuntu image"

RUN apt update && DEBIAN_FRONTEND=noninteractive apt-get install -y python3-dev python3-virtualenv libnetcdf-dev libnetcdff-dev libopenblas-dev libscalapack-mpich-dev libhdf5-serial-dev m4 libfftw3-dev libgl1-mesa-dev libopenblas-dev vim emacs nano git
RUN apt update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y m4 vim emacs nano git wget \
libfftw3-dev libopenblas-dev libhdf5-serial-dev libnetcdf-dev libnetcdff-dev libgl1-mesa-dev \
python3-dev python3-venv

COPY --from=intermediate /venv /venv
COPY --from=intermediate /usr/local /usr/local
Expand Down

0 comments on commit 14b97cc

Please sign in to comment.