Created
September 26, 2021 16:42
-
-
Save jamal919/a10c96d98496d21c060543f4224f5ad1 to your computer and use it in GitHub Desktop.
Comodo-Tools Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:18.04 | |
ENV TZ=Europe/Paris | |
RUN ln -snf /usr/share/zoneinfo/${TZ} /etc/localtime && echo ${TZ} > /etc/timezone | |
RUN apt-get update\ | |
&& apt-get install -y mercurial wget make automake cmake g++ gfortran pkg-config python hwloc\ | |
&& apt-get install -y liblapack-dev libsuitesparse-dev libopenmpi-dev\ | |
&& apt-get install -y libscotch-dev petsc-dev libmetis-dev libarpack2-dev libparpack2-dev\ | |
&& apt-get install -y libnetcdf-dev libshp-dev flex bison libproj-dev libgsl-dev | |
RUN mkdir /comodo /comodo/poc-solvers /comodo/tools\ | |
&& cd /comodo/poc-solvers\ | |
&& wget ftp://ftp.legos.obs-mip.fr/pub/ecola/poc-solvers/poc-solvers.hg_bundle\ | |
&& hg init\ | |
&& hg unbundle poc-solvers.hg_bundle\ | |
&& hg up 387\ | |
&& ./INSTALL.sh -1 --redo -DMPI=on -DPETSC=off\ | |
&& cd /comodo/tools\ | |
&& wget ftp://ftp.legos.obs-mip.fr/pub/ecola/tools/tools.hg_bundle\ | |
&& hg init\ | |
&& hg unbundle tools.hg_bundle\ | |
&& hg up 3873\ | |
&& autoreconf -si\ | |
&& ./configure\ | |
&& make clean\ | |
&& make -k && make -k && make -k\ | |
&& make install | |
WORKDIR /mnt | |
CMD ["/bin/bash"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment