Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Rémy Mozul
FortHon
Commits
e015e25f
Commit
e015e25f
authored
Apr 01, 2016
by
frozar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DOCKER] Add a first example Dockerfile script of LMGC90 (it runs an example).
parent
b471d4cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
lmgc_docker/Dockerfile
lmgc_docker/Dockerfile
+34
-0
No files found.
lmgc_docker/Dockerfile
0 → 100644
View file @
e015e25f
# Docker to get the latest release of LMGC90
FROM
ubuntu:14.04
MAINTAINER
Fabien Rozar <fabien.rozar@umontpellier.fr>
RUN
apt-get update
# Building requierement
RUN
apt-get
install
-y
git python cmake gcc g++ gfortran liblapack-dev swig python-dev python-numpy
# Visualizing requierement
## RUN apt-get install -y python-vtk paraview
# Building documention requierement
## RUN apt-get install -y doxygen graphviz python-numpydoc texlive-latex-extra dvipng imagemagick
# Update the environment
ENV
GIT_SSL_NO_VERIFY True
ENV
PYTHONPATH /root/wk/lmgc90_user/build:$PYTHONPATH
# Make working directory
RUN
mkdir
~/wk
# Download the source of LMGC90
RUN
cd
~/wk
&&
git clone https://git-xen.lmgc.univ-montp2.fr/lmgc90/lmgc90_user.git
RUN
mkdir
~/wk/lmgc90_user/build
&&
cd
~/wk/lmgc90_user/build
&&
cmake ../src
&&
make
-j4
# Run an example
RUN
cd
~/wk/lmgc90_user/examples/mecaMAILx_2D/Rocking
&&
python all.py
>
/dev/null
# Interactive run
## docker run -i -t rozar/lmgc90:v0
# Building command
## docker build -t rozar/lmgc90:v0 .
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment