Skip to content

Commit e98e276

Browse files
committed
⬆️ Upgrade ANTs to v2.3.4 (from 2.1.0)
1 parent 9b2eca0 commit e98e276

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,9 @@ RUN mkdir /ants_template && \
151151
rm -rf /tmp/Oasis.zip /tmp/MICCAI2012-Multi-Atlas-Challenge-Data
152152

153153
# install ANTs
154-
ENV PATH=/usr/lib/ants:$PATH
155-
RUN apt-get install -y ants
156-
# RUN export ANTSPATH=/usr/lib/ants
157-
ENV ANTSPATH=/usr/lib/ants/
154+
RUN dev/docker_data/install_ants.sh v2.3.4
155+
ENV ANTSPATH=/usr/lib/ants/bin/
156+
ENV PATH=${ANTSPATH}:$PATH
158157

159158
# install ICA-AROMA
160159
RUN mkdir -p /opt/ICA-AROMA

dev/docker_data/install_ants.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ buildThreads=4
4141

4242
# Where to build, should be an empty directory
4343
buildDir=${workingDir}/build
44-
installDir=${workingDir}/install
44+
installDir=/usr/lib/ants
4545

46-
mkdir $buildDir $installDir
46+
mkdir -p $buildDir $installDir
4747

4848
cd $buildDir
4949

0 commit comments

Comments
 (0)