Mentions légales du service

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

Adding Dockerfiles

parent b979c179
No related branches found
No related tags found
No related merge requests found
#FROM ubuntu:latest
#FROM quay.io/fenicsproject/stable:2016.1.0
#FROM quay.io/fenicsproject/stable:2016.2.0
#FROM quay.io/fenicsproject/stable:2017.1.0
#FROM quay.io/fenicsproject/stable:2017.2.0
FROM quay.io/fenicsproject/stable:current
#FROM quay.io/fenicsproject/stable:latest
#USER root
#RUN apt-get update; apt-get -y upgrade; apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
#RUN apt-get update; apt-get install -y software-properties-common
#RUN add-apt-repository -y ppa:fenics-packages/fenics-2016.1.0
#RUN add-apt-repository -y ppa:fenics-packages/fenics-2016.2.0
#RUN add-apt-repository -y ppa:fenics-packages/fenics-2017.1.0
#RUN add-apt-repository -y ppa:fenics-packages/fenics-2017.2.0
#RUN add-apt-repository -y ppa:fenics-packages/fenics
#RUN apt-get update; apt-get install -y fenics; apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN apt-get update; apt-get -y install libvtk6-dev; apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ENV CPATH="/usr/include/vtk-6.2":$CPATH
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
WORKDIR /home/fenics
RUN mkdir code
ENV PYTHONPATH=/home/fenics/code:$PYTHONPATH
ENV PATH=/home/fenics/code/myPythonLibrary:/home/fenics/code/myVTKPythonLibrary:/home/fenics/code/vtkpython_cbl:$PATH
#USER root
FROM dolfin_dic-dev
RUN apt-get update; apt-get install -y git; apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
WORKDIR /home/fenics/code
RUN git clone https://github.com/mgenet/myPythonLibrary.git
RUN git clone https://github.com/mgenet/myVTKPythonLibrary.git
RUN git clone https://github.com/mgenet/vtkpython_cbl.git
RUN git clone https://bitbucket.org/mgenet/dolfin_dic.git
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