-
Notifications
You must be signed in to change notification settings - Fork 119
Docker
Luís Venâncio edited this page Feb 27, 2024
·
4 revisions
To compile and test DUNE out-of-the-box a docker solution is provided.
Get Docker and Docker Compose here.
This tutorial assumes you have read the previous tutorial Obtaining the Source Code.
- Create a dedicated folder for DUNE's compiled binaries:
mkdir $HOME/dune/build
- Go into the docker directory inside the DUNE's source.
cd $HOME/dune/dune/docker
- Run container and enter shell.
docker run -i -a stdin -a stdout -v $HOME/dune/dune/:/dune/source -v $HOME/dune/build/:/dune/build -t dune
- Compile DUNE.
cmake ../source
make -j$(nproc)
If you have docker compose:
cd $HOME/dune/dune/docker
docker compose run dune
cmake ../source
make -j$(nproc)