Skip to content

Commit

Permalink
fsl: update dockerfile from new docs site
Browse files Browse the repository at this point in the history
  • Loading branch information
rkm committed Mar 26, 2024
1 parent cf3e634 commit 9aa04c7
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 84 deletions.
29 changes: 29 additions & 0 deletions software/FSL/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
FROM ubuntu:20.04

ARG FSL_VERSION="6.0.7.9"

ENV FSLDIR="/usr/local/fsl"

RUN : \
&& apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get install \
-qq -y --no-install-recommends \
ca-certificates \
curl \
libgomp1 \
libgtk2.0-0 \
libquadmath0 \
mesa-utils \
python3 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& :

RUN : \
&& set -eu \
&& curl -sLo fslinstaller.py https://fsl.fmrib.ox.ac.uk/fsldownloads/fslconda/releases/fslinstaller.py \
&& python3 fslinstaller.py -d /usr/local/fsl --skip_registration --fslversion "${FSL_VERSION}" \
&& rm fslinstaller.py \
&& :

ENTRYPOINT [ "sh", "-c", ". /usr/local/fsl/etc/fslconf/fsl.sh && /bin/bash" ]
8 changes: 7 additions & 1 deletion software/FSL/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# FSL

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

Old site at https://fsl.fmrib.ox.ac.uk/fsl/fslwiki

## Docker containers

Expand All @@ -22,6 +24,10 @@ docker run --rm -it \
<image-name>
```

### FSL Documentation

The new FSL site provides [these](https://fsl.fmrib.ox.ac.uk/fsl/docs/#/install/container?id=install-fsl-into-a-dockersingularity-container) instructions. This has been translated into the main `Dockerfile` in this directory.

### Neurodocker

Using [neurodocker](https://www.repronim.org/neurodocker/index.html):
Expand Down
83 changes: 0 additions & 83 deletions software/FSL/fsl605.Dockerfile

This file was deleted.

0 comments on commit 9aa04c7

Please sign in to comment.