Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux-docker
Commits
5bd2fbab
Commit
5bd2fbab
authored
Feb 28, 2017
by
Timo Koch
Browse files
Image on ubuntu running DuMux 2.10 on Dune 2.5 and graphic support
parent
81076cc0
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/releases-2.10/ubuntu/Dockerfile
0 → 100644
View file @
5bd2fbab
# DuMux docker container
FROM
ubuntu:latest
MAINTAINER
Timo Koch <timo.koch@iws.uni-stuttgart.de>
# get the package list
RUN
apt-get update
&&
apt-get dist-upgrade
--no-install-recommends
--yes
&&
\
apt-get
install
--no-install-recommends
--yes
\
ca-certificates
\
vim
\
python-dev
\
python-pip
\
git
\
pkg-config
\
build-essential
\
gfortran
\
cmake
\
mpi-default-bin
\
mpi-default-dev
\
libsuitesparse-dev
\
libsuperlu-dev
\
libeigen3-dev
\
paraview
\
doxygen
\
texlive
\
&&
apt-get clean
\
&&
rm
-rf
/var/lib/apt/lists/
*
# create a dumux user
RUN
useradd
-m
--home-dir
/dumux dumux
# add user to video group for graphics
RUN
usermod
-a
-G
video dumux
USER
dumux
WORKDIR
/dumux
# clone dune dependencies
RUN
git clone
-b
releases/2.5 https://gitlab.dune-project.org/core/dune-common.git
&&
\
git clone
-b
releases/2.5 https://gitlab.dune-project.org/core/dune-geometry.git
&&
\
git clone
-b
releases/2.5 https://gitlab.dune-project.org/core/dune-grid.git
&&
\
git clone
-b
releases/2.5 https://gitlab.dune-project.org/core/dune-istl.git
&&
\
git clone
-b
releases/2.5 https://gitlab.dune-project.org/core/dune-localfunctions.git
&&
\
git clone
-b
releases/2.5 https://gitlab.dune-project.org/staging/dune-uggrid.git
&&
\
git clone
-b
releases/2.5 https://gitlab.dune-project.org/extensions/dune-alugrid.git
&&
\
git clone
-b
releases/2.5 https://gitlab.dune-project.org/extensions/dune-foamgrid.git
# clone dumux repository
RUN
git clone
-b
releases/2.10 https://git.iws.uni-stuttgart.de/dumux-repositories/dumux.git
# configure dumux
RUN
./dune-common/bin/dunecontrol
--opts
=
./dumux/optim.opts all
# build doxygen documentation
RUN
cd
dumux/build-cmake
&&
make doc
# make graphical output with paraview work
ENV
QT_X11_NO_MITSHM 1
# run bash shell
CMD
["/bin/bash"]
Write
Preview
Supports
Markdown
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