Skip to content

Commit

Permalink
build conn 21a
Browse files Browse the repository at this point in the history
  • Loading branch information
stebo85 committed Oct 19, 2023
1 parent 01148fc commit a9a201c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions recipes/conn/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

----------------------------------
## conn/20b ##
## conn/toolVersion ##
conn standalone with Matlab Compiler Runtime

Example:
Expand All @@ -10,6 +10,6 @@ conn

More documentation can be found here: https://web.conn-toolbox.org/tutorials

To run container outside of this environment: ml conn/20b
To run container outside of this environment: ml conn/toolVersion

----------------------------------
9 changes: 4 additions & 5 deletions recipes/conn/build.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#!/usr/bin/env bash
set -e

# this template file builds conn
export toolName='conn'
export toolVersion='20b'
# Don't forget to update version change in README.md!!!!!
export toolVersion='21a'
# https://www.nitrc.org/frs/?group_id=279

if [ "$1" != "" ]; then
echo "Entering Debug mode"
Expand All @@ -19,9 +18,9 @@ neurodocker generate ${neurodocker_buildMode} \
--run="printf '#!/bin/bash\nls -la' > /usr/bin/ll" \
--run="chmod +x /usr/bin/ll" \
--run="mkdir -p ${mountPointList}" \
--matlabmcr version=2020b method=binaries \
--matlabmcr version=2021a method=binaries \
--workdir /opt/${toolName}-${toolVersion}/ \
--run="curl -fsSL --retry 5 https://objectstorage.us-ashburn-1.oraclecloud.com/n/nrrir2sdpmdp/b/neurodesk/o/conn20b_mcr2020b.tar.gz \
--run="curl -fsSL --retry 5 https://www.nitrc.org/frs/download.php/12424/conn21a_glnxa64.zip \
| tar -xz -C /opt/${toolName}-${toolVersion}/ --strip-components 1" \
--env DEPLOY_BINS=${toolName} \
--install openjdk-8-jre \
Expand Down

0 comments on commit a9a201c

Please sign in to comment.