File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -150,12 +150,6 @@ RUN mkdir /ants_template && \
150150 mv /tmp/MICCAI2012-Multi-Atlas-Challenge-Data /ants_template/oasis && \
151151 rm -rf /tmp/Oasis.zip /tmp/MICCAI2012-Multi-Atlas-Challenge-Data
152152
153- # 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/
158-
159153# install ICA-AROMA
160154RUN mkdir -p /opt/ICA-AROMA
161155RUN curl -sL https://github.com/rhr-pruim/ICA-AROMA/archive/v0.4.3-beta.tar.gz | tar -xzC /opt/ICA-AROMA --strip-components 1
@@ -216,8 +210,12 @@ RUN mkdir -p /ndmg_atlases/label && \
216210COPY dev/docker_data/default_pipeline.yml /cpac_resources/default_pipeline.yml
217211COPY dev/circleci_data/pipe-test_ci.yml /cpac_resources/pipe-test_ci.yml
218212
219-
220213COPY . /code
214+ # install ANTs
215+ RUN /code/dev/docker_data/install_ants.sh v2.3.4
216+ ENV ANTSPATH=/usr/lib/ants/bin/
217+ ENV PATH=${ANTSPATH}:$PATH
218+
221219RUN pip install -e /code
222220
223221COPY dev/docker_data /code/docker_data
Original file line number Diff line number Diff line change @@ -41,9 +41,9 @@ buildThreads=4
4141
4242# Where to build, should be an empty directory
4343buildDir=${workingDir} /build
44- installDir=${workingDir} /install
44+ installDir=/usr/lib/ants
4545
46- mkdir $buildDir $installDir
46+ mkdir -p $buildDir $installDir
4747
4848cd $buildDir
4949
You can’t perform that action at this time.
0 commit comments