Skip to content

Commit ab05e35

Browse files
author
Jakub Kaczmarzyk
committed
update to version 0.4.2 + add ants versions
1 parent 83dbc15 commit ab05e35

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ _Neurodocker_ is a command-line program that generates custom Dockerfiles and Si
2121
Use the _Neurodocker_ Docker image (recommended):
2222

2323
```shell
24-
$ docker run --rm kaczmarj/neurodocker:0.4.1 --help
24+
$ docker run --rm kaczmarj/neurodocker:0.4.2 --help
2525
```
2626

2727
_Note_: Do not use the `-t/--tty` flag with `docker run` or non-printable characters will be a part of the output (see [moby/moby#8513 (comment)](https://github.com/moby/moby/issues/8513#issuecomment-216191236)).
@@ -53,7 +53,7 @@ Note: it is not yet possible to minimize Docker containers using the _Neurodocke
5353
| | install_r_pkgs | If true, install R and AFNI's R packages. |
5454
| | install_python2 | If true, install Python 2. |
5555
| | install_python3 | If true, install Python 3. |
56-
| **ANTs** | version* | 2.2.0, 2.1.0, 2.0.3, or 2.0.0. If `method=source`, version can be a git commit hash or branch. |
56+
| **ANTs** | version* | 2.3.1, 2.3.0, 2.2.0, 2.1.0, 2.0.3, or 2.0.0. If `method=source`, version can be a git commit hash or branch. |
5757
| | method | binaries (default), source. |
5858
| | install_path | Installation path. Default `/opt/ants-{version}`. |
5959
| | cmake_opts | If `method=source`, options for `cmake`. |
@@ -231,48 +231,48 @@ Please see the [examples](examples) directory.
231231

232232
## Canonical examples
233233

234-
The canonical examples install ANTs version 2.2.0 on Debian 9 (Stretch).
234+
The canonical examples install ANTs version 2.3.1 on Debian 9 (Stretch).
235235

236236
_Note_: Do not use the `-t/--tty` flag with `docker run` or non-printable characters will be a part of the output (see [moby/moby#8513 (comment)](https://github.com/moby/moby/issues/8513#issuecomment-216191236)).
237237

238238

239239
### Docker
240240

241241
```shell
242-
$ docker run --rm kaczmarj/neurodocker:0.4.1 generate docker \
243-
--base debian:stretch --pkg-manager apt --ants version=2.2.0
242+
$ docker run --rm kaczmarj/neurodocker:0.4.2 generate docker \
243+
--base debian:stretch --pkg-manager apt --ants version=2.3.1
244244

245245
# Build image by piping Dockerfile to `docker build`
246-
$ docker run --rm kaczmarj/neurodocker:0.4.1 generate docker \
247-
--base debian:stretch --pkg-manager apt --ants version=2.2.0 | docker build -
246+
$ docker run --rm kaczmarj/neurodocker:0.4.2 generate docker \
247+
--base debian:stretch --pkg-manager apt --ants version=2.3.1 | docker build -
248248
```
249249

250250
### Singularity
251251

252252
Install ANTs on Debian 9 (Stretch).
253253

254254
```shell
255-
$ docker run --rm kaczmarj/neurodocker:0.4.1 generate singularity \
256-
--base debian:stretch --pkg-manager apt --ants version=2.2.0
255+
$ docker run --rm kaczmarj/neurodocker:0.4.2 generate singularity \
256+
--base debian:stretch --pkg-manager apt --ants version=2.3.1
257257
```
258258

259259

260260
## Minimize existing Docker image
261261

262262
_Neurodocker_ must be `pip` installed for container minimization.
263263

264-
In the following example, a Docker image is built with ANTs version 2.2.0 and a functional scan. The image is minified for running `antsMotionCorr`. The original ANTs Docker image is 1.85 GB, and the "minified" image is 365 MB.
264+
In the following example, a Docker image is built with ANTs version 2.3.1 and a functional scan. The image is minified for running `antsMotionCorr`. The original ANTs Docker image is 1.85 GB, and the "minified" image is 365 MB.
265265

266266

267267
```shell
268268
# Create a Docker image with ANTs, and download a functional scan.
269269
$ download_cmd="curl -sSL -o /home/func.nii.gz http://psydata.ovgu.de/studyforrest/phase2/sub-01/ses-movie/func/sub-01_ses-movie_task-movie_run-1_bold.nii.gz"
270-
$ neurodocker generate docker -b centos:7 -p yum --ants version=2.2.0 --run="$download_cmd" | docker build -t ants:2.2.0 -
270+
$ neurodocker generate docker -b centos:7 -p yum --ants version=2.3.1 --run="$download_cmd" | docker build -t ants:2.3.1 -
271271

272272
# Run the container in the background.
273273
# The option --security-opt=seccomp:unconfined is important. Without this,
274274
# the trace will not be able to run in the container.
275-
$ docker run --rm -itd --name ants-container --security-opt=seccomp:unconfined ants:2.2.0
275+
$ docker run --rm -itd --name ants-container --security-opt=seccomp:unconfined ants:2.3.1
276276

277277
# Output a ReproZip pack file in the current directory with the files
278278
# necessary to run antsMotionCorr.

neurodocker/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Copied from https://github.com/nipy/nipype/blob/master/nipype/info.py.
44
"""
55

6-
__version__ = '0.4.2-dev'
6+
__version__ = '0.4.2'
77

88

99
def get_gitversion():

0 commit comments

Comments
 (0)