Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 24 lines (21 sloc) 999 Bytes
#!/bin/bash
generate() {
docker run --rm kaczmarj/neurodocker:master generate "$1" \
--base=neurodebian:stretch \
--pkg-manager=apt \
--install vim wget strace time ncdu gnupg curl procps datalad \
git-annex-standalone python-nipype virtualenv \
python-dcmstack python-configparser python-funcsigs \
python-pytest dcmtk python-pip python-wheel python-setuptools python-datalad \
--run "curl -sL https://deb.nodesource.com/setup_6.x | bash - "\
--install nodejs npm \
--run "npm install -g bids-validator@0.26.11" \
--run "mkdir /afs /inbox" \
--run "pip install heudiconv" \
--dcm2niix version="v1.0.20180622" method="source" \
--run "echo '#!/bin/bash' >> /neurodocker/heudiconv.sh && echo 'heudiconv \"\$@\"' >> /neurodocker/heudiconv.sh && chmod +x /neurodocker/heudiconv.sh" \
--user=reproin \
--entrypoint "/neurodocker/heudiconv.sh"
}
generate docker > Dockerfile
generate singularity > Singularity