Created
June 23, 2017 10:36
-
-
Save renefritze/fbde20600f6c54a1363a37a7523c2b71 to your computer and use it in GitHub Desktop.
fenics git src python 3 docker
This file contains 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 pymor/python:3.5 | |
MAINTAINER René Milk <rene.milk@wwu.de> | |
USER root | |
ENV SRCDIR /root/src | |
RUN mkdir ${SRCDIR} && cd ${SRCDIR} && \ | |
for i in fiat instant dijitso ufl ffc dolfin mshr ; do \ | |
git clone https://bitbucket.org/fenics-project/$i ; \ | |
done && \ | |
for i in fiat instant dijitso ufl ffc ; do \ | |
cd ${SRCDIR}/$i && pip3 install . ; \ | |
done && \ | |
pip install ply && for i in dolfin mshr ; do \ | |
cd ${SRCDIR}/$i && mkdir build && cd build && cmake .. && make install ; \ | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment