From bbcb16830836a2d3678b5865d25d8a8d7b915ff0 Mon Sep 17 00:00:00 2001 From: Agah Karakuzu Date: Sun, 25 Jul 2021 17:29:55 +0300 Subject: [PATCH] Put back containers --- containers/README.md | 11 +++++++++++ containers/antsfsl/Dockerfile | 12 ++++++++++++ containers/antsfsl/build.sh | 1 + 3 files changed, 24 insertions(+) create mode 100644 containers/README.md create mode 100644 containers/antsfsl/Dockerfile create mode 100644 containers/antsfsl/build.sh diff --git a/containers/README.md b/containers/README.md new file mode 100644 index 0000000..7b2e03a --- /dev/null +++ b/containers/README.md @@ -0,0 +1,11 @@ +## qMRLab Docker images + +With each [qMRLab release](https://github.com/qMRLab/qMRLab/releases), the `minimal` docker image is built automatically. Available +tags can be found [here](https://hub.docker.com/r/qmrlab/minimal/tags?page=1&ordering=last_updated). + +## Docker images for external (non-qMRLab) processes + +If available, off-the-shelf containers can be used by modifying `nextflow.config` file. + +`Dockerfiles` of other Docker images maintained by qMRLab (e.g. `qmrlab/antsfls`) are available in +this directory. \ No newline at end of file diff --git a/containers/antsfsl/Dockerfile b/containers/antsfsl/Dockerfile new file mode 100644 index 0000000..d6aa2f3 --- /dev/null +++ b/containers/antsfsl/Dockerfile @@ -0,0 +1,12 @@ +FROM neurodebian:xenial +MAINTAINER qmrlab + +RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install ants git curl unzip fsl-5.0-core + +RUN /bin/bash -c "source /etc/fsl/5.0/fsl.sh" + +ENV PATH=$PATH:/usr/lib/ants:/usr/lib/fsl/5.0 \ + FSLDIR=/usr/share/fsl/5.0 \ + LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/fsl/5.0 \ + FSLOUTPUTTYPE=NIFTI_GZ \ + FSLTCLSH=/usr/bin/tclsh \ No newline at end of file diff --git a/containers/antsfsl/build.sh b/containers/antsfsl/build.sh new file mode 100644 index 0000000..c11b2c2 --- /dev/null +++ b/containers/antsfsl/build.sh @@ -0,0 +1 @@ +docker build --rm -t qmrlab/antsfsl . \ No newline at end of file