Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 448ffaf3 authored by Martin Genet's avatar Martin Genet
Browse files

add rename to DockerFile

parent 287ac03b
No related branches found
No related tags found
No related merge requests found
# FEniCS base
FROM quay.io/fenicsproject/stable:2019.1.0.r3
RUN apt-get update; apt-get -y install python3-future python3-numpy; apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# basic stuff
RUN apt-get update; apt-get -y install rename; apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# python3 stuff
RUN apt-get update; apt-get -y install python3-future python3-numpy python3-scipy; apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# vtk stuff
RUN apt-get update; apt-get -y install libvtk7-dev python3-vtk7; apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ENV CPATH="/usr/include/vtk-7.1":$CPATH
# gnuplot stuff
RUN apt-get update; apt-get -y install gnuplot git; apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
WORKDIR /home/fenics
RUN git clone https://github.com/aschn/gnuplot-colorbrewer.git
RUN echo "set loadpath \"/home/fenics/gnuplot-colorbrewer/diverging:/home/fenics/gnuplot-colorbrewer/qualitative:/home/fenics/gnuplot-colorbrewer/sequential\"" > .gnuplot
RUN pip3 install git+https://github.com/dolfin-adjoint/pyadjoint.git@2019.1.0
RUN pip3 install cma
RUN pip3 install nlopt
# optimization stuff
RUN pip3 install git+https://github.com/dolfin-adjoint/pyadjoint.git@2019.1.0 cma nlopt
# environment setup
WORKDIR /home/fenics
RUN mkdir code
ENV PYTHONPATH=/home/fenics/code:$PYTHONPATH
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment