Skip to content

Commit

Permalink
reorder build steps to use cacheing
Browse files Browse the repository at this point in the history
  • Loading branch information
vnm-neurodesk committed Sep 29, 2024
1 parent e4f5a80 commit e5d07b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions recipes/afni/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ neurodocker generate ${neurodocker_buildMode} \
&& mv linux_ubuntu_24_R-4.3_libs /usr/local/share/R-4.3 \
&& rm -f linux_ubuntu_24_R-4.3_libs.tgz" \
--run="@afni_R_package_install ALL" \
--freesurfer version=7.4.1 \
--env SUBJECTS_DIR="~/freesurfer-subjects-dir" \
--env DEPLOY_PATH=/usr/local/abin/ \
--copy dependencies.R /opt \
--copy README.md /README.md \
--copy test.sh /test.sh \
--copy test.tgz /opt/test.tgz \
--copy dependencies.R /opt \
--run="Rscript /opt/dependencies.R" \
--freesurfer version=7.4.1 \
--env SUBJECTS_DIR="~/freesurfer-subjects-dir" \
--env DEPLOY_PATH=/usr/local/abin/ \
--copy license.txt /opt/freesurfer-7.4.1/license.txt \
--workdir /opt \
> ${imageName}.${neurodocker_buildExt}
Expand Down

0 comments on commit e5d07b6

Please sign in to comment.