Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.44 KB

README.md

File metadata and controls

44 lines (28 loc) · 1.44 KB

BLUEST docker files

Description

This folder contains the docker files for the BLUEST development environment that contains all BLUEST dependencies (including those for the examples), but not BLUEST itself.

Using the image from DockerHub

There is a pre-built docker image containing all BLUEST dependencies (including those for the examples) built upon the legacy FEniCS docker images. This image can be downloaded and run as follows:

> docker run -ti -v $(pwd):/home/fenics/shared croci/bluest:latest

If you prefer using singularity you can also convert and run the docker image by typing:

> singularity build bluest.img croci/bluest:latest
> singularity exec --cleanenv ./bluest.img /bin/bash -l

Once the container is running, install BLUEST by calling:

> pip install --user git+https://github.com/croci/bluest.git

Building the image yourself

Required modifications can be incorporated into the Dockerfile. The modified image can then be built by calling:

> docker build -t IMAGE_NAME:IMAGE_TAG .

Here IMAGE_NAME and IMAGE_TAG can be replaced with whatever (e.g., modified_bluest:latest). The built image can be run via, e.g.,

> docker run -ti -v $(pwd):/home/fenics/shared IMAGE_NAME:IMAGE_TAG

License

See the LICENSE file for license rights and limitations.