Skip to content
Permalink
Browse files

BF: fixed entry point invocation to pass arguments correctly, boosted…

… ndfreeze date
  • Loading branch information
yarikoptic committed Dec 19, 2019
1 parent 8efbfcb commit 4e879cd3537406f80f7bfbe6ac146cb58f5f76bc
Showing with 6 additions and 6 deletions.
  1. +6 −6 generate_container.sh
@@ -3,7 +3,7 @@
set -eu

# Either to build against to-be-released heudiconv
dev_build=1
dev_build=

generate() {
if [ "$dev_build" = "1" ]; then
@@ -17,21 +17,21 @@ generate() {
docker run --rm kaczmarj/neurodocker:master generate "$1" \
--base=neurodebian:buster \
--pkg-manager=apt \
--ndfreeze date=20191201 \
--ndfreeze date=20191217 \
--install vim wget strace time ncdu gnupg curl procps datalad pigz \
git-annex-standalone python-nipype virtualenv \
python-dcmstack python-configparser python-funcsigs \
python-pytest dcmtk python-pip python-wheel \
python-setuptools python-datalad \
dcm2niix python-pytest $apt_pkgs \
python-setuptools python-datalad python-filelock \
dcm2niix python-pytest python3-pytest python3-nose $apt_pkgs \
--run "$run_cmd" \
--run "curl -sL https://deb.nodesource.com/setup_6.x | bash - " \
--install nodejs npm \
--run "npm install -g bids-validator@1.3.12" \
--run "mkdir /afs /inbox" \
--run "echo '#!/bin/bash' >> /neurodocker/heudiconv.sh && echo 'set -eu; set -x; heudiconv \"\$@\"' >> /neurodocker/heudiconv.sh && chmod +x /neurodocker/heudiconv.sh" \
--run "echo '#!/bin/bash' >> /neurodocker/heudiconv.sh && echo 'set -eu; heudiconv \"\$@\"' >> /neurodocker/heudiconv.sh && chmod +x /neurodocker/heudiconv.sh" \
--user=reproin \
--entrypoint "/neurodocker/heudiconv.sh"
--entrypoint '/neurodocker/heudiconv.sh "$@"'
}

version=$(git describe)

0 comments on commit 4e879cd

Please sign in to comment.
You can’t perform that action at this time.