khanlab/tar2bids:0.0.1d
$ singularity pull shub://khanlab/tar2bids:0.0.1d
Singularity Recipe
Bootstrap: shub
From: khanlab/heudiconv:0.4.3
%setup
mkdir -p $SINGULARITY_ROOTFS/opt/tar2bids
cp -Rv . $SINGULARITY_ROOTFS/opt/tar2bids
%post
## Install bids-validator
apt-get update && \
apt-get install -y curl git && \
curl -sL https://deb.nodesource.com/setup_8.x | bash - && \
apt-get remove -y curl && \
apt-get install -y nodejs && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
git clone http://github.com/INCF/bids-validator /opt/bids-validator
cd /opt/bids-validator
TAG=0.26.5
git checkout $TAG
sed -i -E "s/0.0.0/$TAG/" package.json
npm install -g /opt/bids-validator
#install gnu parallel
apt-get update
apt-get install -y parallel
#need the below to avoid warnings when running gnu-parallel
apt-get install -y locales
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
echo "LANG=en_US.UTF-8" > /etc/locale.conf
echo "LC_ALL=en_US.UTF-8" >> /etc/locale.conf
locale-gen en_US.UTF-8
%environment
export LANGUAGE="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
export LANG="en_US.UTF-8"
%runscript
exec /opt/tar2bids/tar2bids $@
Collection
- Name: khanlab/tar2bids
- License: GNU General Public License v3.0
View on Datalad
Metrics
key | value |
---|---|
id | /containers/khanlab-tar2bids-0.0.1d |
collection name | khanlab/tar2bids |
branch | master |
tag | 0.0.1d |
commit | 78fe92e80dc647efb78450fb38f4ef4a52986481 |
version (container hash) | 978df0164373dc18bb770edef8f1be86 |
build date | 2018-05-01T10:59:30.671Z |
size (MB) | 2708 |
size (bytes) | 876511263 |
SIF | Download URL (please use pull with shub://) |
Datalad URL | View on Datalad |
Singularity Recipe | Singularity Recipe on Datalad |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.