Skip to content

Instantly share code, notes, and snippets.

@renefritze
Created June 23, 2017 10:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save renefritze/fbde20600f6c54a1363a37a7523c2b71 to your computer and use it in GitHub Desktop.
Save renefritze/fbde20600f6c54a1363a37a7523c2b71 to your computer and use it in GitHub Desktop.
fenics git src python 3 docker
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