Skip to content

Commit 9aa04c7

Browse files
committed
fsl: update dockerfile from new docs site
1 parent cf3e634 commit 9aa04c7

File tree

3 files changed

+36
-84
lines changed

3 files changed

+36
-84
lines changed

software/FSL/Dockerfile

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
FROM ubuntu:20.04
2+
3+
ARG FSL_VERSION="6.0.7.9"
4+
5+
ENV FSLDIR="/usr/local/fsl"
6+
7+
RUN : \
8+
&& apt-get update -qq \
9+
&& DEBIAN_FRONTEND=noninteractive apt-get install \
10+
-qq -y --no-install-recommends \
11+
ca-certificates \
12+
curl \
13+
libgomp1 \
14+
libgtk2.0-0 \
15+
libquadmath0 \
16+
mesa-utils \
17+
python3 \
18+
&& apt-get clean \
19+
&& rm -rf /var/lib/apt/lists/* \
20+
&& :
21+
22+
RUN : \
23+
&& set -eu \
24+
&& curl -sLo fslinstaller.py https://fsl.fmrib.ox.ac.uk/fsldownloads/fslconda/releases/fslinstaller.py \
25+
&& python3 fslinstaller.py -d /usr/local/fsl --skip_registration --fslversion "${FSL_VERSION}" \
26+
&& rm fslinstaller.py \
27+
&& :
28+
29+
ENTRYPOINT [ "sh", "-c", ". /usr/local/fsl/etc/fslconf/fsl.sh && /bin/bash" ]

software/FSL/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# FSL
22

3-
https://fsl.fmrib.ox.ac.uk/fsl/fslwiki
3+
https://fsl.fmrib.ox.ac.uk/fsl/docs/#/
4+
5+
Old site at https://fsl.fmrib.ox.ac.uk/fsl/fslwiki
46

57
## Docker containers
68

@@ -22,6 +24,10 @@ docker run --rm -it \
2224
<image-name>
2325
```
2426

27+
### FSL Documentation
28+
29+
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.
30+
2531
### Neurodocker
2632

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

software/FSL/fsl605.Dockerfile

Lines changed: 0 additions & 83 deletions
This file was deleted.

0 commit comments

Comments
 (0)