Skip to content

Commit

Permalink
fsl: add v5 container info
Browse files Browse the repository at this point in the history
  • Loading branch information
rkm committed Mar 25, 2024
1 parent 22f8134 commit 1e4e763
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
7 changes: 6 additions & 1 deletion software/FSL/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

https://fsl.fmrib.ox.ac.uk/fsl/fslwiki

## Docker container
## Docker containers

A container with a relatively old version (5.0.7) can be build from `fsl5.Dockerfile`.

### Neurodocker

Using [neurodocker](https://www.repronim.org/neurodocker/index.html):

Expand All @@ -18,3 +22,4 @@ $ docker run --rm repronim/neurodocker \
$ docker build --tag fsl:6.0.5 --file fsl605.Dockerfile .
```


26 changes: 26 additions & 0 deletions software/FSL/fsl5.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
FROM debian:10-slim

RUN : \
&& apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get install \
-qq -y --no-install-recommends \
ca-certificates \
gnupg2 \
curl \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& :

RUN : \
&& set -eu \
&& mkdir -m 0755 -p /etc/apt/keyrings \
&& curl -fsSL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xA5D32F012649A5A9" | gpg --dearmor -o /etc/apt/keyrings/neurodebian.gpg \
&& echo "deb [signed-by=/etc/apt/keyrings/neurodebian.gpg] http://neurodebian.g-node.org data main contrib non-free" >> /etc/apt/sources.list.d/neurodebian.sources.list \
&& echo "deb [signed-by=/etc/apt/keyrings/neurodebian.gpg] http://neurodebian.g-node.org buster main contrib non-free" >> /etc/apt/sources.list.d/neurodebian.sources.list \
&& apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get install \
-qq -y --no-install-recommends \
fsl-5.0-complete \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& :

0 comments on commit 1e4e763

Please sign in to comment.