Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
195 lines (181 sloc) 4.3 KB
# Could not check for version updates: Connection to server could not be made
# Generated by Neurodocker version 0.6.0
# Timestamp: 2019-12-19 23:33:31 UTC
#
# Thank you for using Neurodocker. If you discover any issues
# or ways to improve this software, please submit an issue or
# pull request on our GitHub repository:
#
# https://github.com/kaczmarj/neurodocker
Bootstrap: docker
From: neurodebian:buster
%post
apt-get update -qq
apt-get install -y -q --no-install-recommends neurodebian-freeze
nd_freeze 20191217
apt-get clean
rm -rf /var/lib/apt/lists/*
export ND_ENTRYPOINT="/neurodocker/startup.sh"
apt-get update -qq
apt-get install -y -q --no-install-recommends \
apt-utils \
bzip2 \
ca-certificates \
curl \
locales \
unzip
apt-get clean
rm -rf /var/lib/apt/lists/*
sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
dpkg-reconfigure --frontend=noninteractive locales
update-locale LANG="en_US.UTF-8"
chmod 777 /opt && chmod a+s /opt
mkdir -p /neurodocker
if [ ! -f "$ND_ENTRYPOINT" ]; then
echo '#!/usr/bin/env bash' >> "$ND_ENTRYPOINT"
echo 'set -e' >> "$ND_ENTRYPOINT"
echo 'export USER="${USER:=`whoami`}"' >> "$ND_ENTRYPOINT"
echo 'if [ -n "$1" ]; then "$@"; else /usr/bin/env bash; fi' >> "$ND_ENTRYPOINT";
fi
chmod -R 777 /neurodocker && chmod a+s /neurodocker
apt-get update -qq
apt-get install -y -q --no-install-recommends \
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 \
python-filelock \
dcm2niix \
python-pytest \
python3-pytest \
python3-nose \
heudiconv
apt-get clean
rm -rf /var/lib/apt/lists/*
:
curl -sL https://deb.nodesource.com/setup_6.x | bash -
apt-get update -qq
apt-get install -y -q --no-install-recommends \
nodejs \
npm
apt-get clean
rm -rf /var/lib/apt/lists/*
npm install -g bids-validator@1.3.12
mkdir /afs /inbox
echo '#!/bin/bash' >> /neurodocker/heudiconv.sh && echo 'set -eu; heudiconv "$@"' >> /neurodocker/heudiconv.sh && chmod +x /neurodocker/heudiconv.sh
test "$(getent passwd reproin)" || useradd --no-user-group --create-home --shell /bin/bash reproin
su - reproin
echo '{
\n "pkg_manager": "apt",
\n "instructions": [
\n [
\n "base",
\n "neurodebian:buster"
\n ],
\n [
\n "ndfreeze",
\n {
\n "date": "20191217"
\n }
\n ],
\n [
\n "_header",
\n {
\n "version": "generic",
\n "method": "custom"
\n }
\n ],
\n [
\n "install",
\n [
\n "vim",
\n "wget",
\n "strace",
\n "time",
\n "ncdu",
\n "gnupg",
\n "curl",
\n "procps",
\n "datalad",
\n "pigz",
\n "git-annex-standalone",
\n "python-nipype",
\n "virtualenv",
\n "python-dcmstack",
\n "python-configparser",
\n "python-funcsigs",
\n "python-pytest",
\n "dcmtk",
\n "python-pip",
\n "python-wheel",
\n "python-setuptools",
\n "python-datalad",
\n "python-filelock",
\n "dcm2niix",
\n "python-pytest",
\n "python3-pytest",
\n "python3-nose",
\n "heudiconv"
\n ]
\n ],
\n [
\n "run",
\n ":"
\n ],
\n [
\n "run",
\n "curl -sL https://deb.nodesource.com/setup_6.x | bash - "
\n ],
\n [
\n "install",
\n [
\n "nodejs",
\n "npm"
\n ]
\n ],
\n [
\n "run",
\n "npm install -g bids-validator@1.3.12"
\n ],
\n [
\n "run",
\n "mkdir /afs /inbox"
\n ],
\n [
\n "run",
\n "echo '"'"'#!/bin/bash'"'"' >> /neurodocker/heudiconv.sh && echo '"'"'set -eu; heudiconv \"$@\"'"'"' >> /neurodocker/heudiconv.sh && chmod +x /neurodocker/heudiconv.sh"
\n ],
\n [
\n "user",
\n "reproin"
\n ],
\n [
\n "entrypoint",
\n "/neurodocker/heudiconv.sh \"$@\""
\n ]
\n ]
\n}' > /neurodocker/neurodocker_specs.json
%environment
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
export ND_ENTRYPOINT="/neurodocker/startup.sh"
%runscript
/neurodocker/heudiconv.sh "$@"
You can’t perform that action at this time.