khanlab/bids-validator:0.25.0
$ singularity pull shub://khanlab/bids-validator:0.25.0
Singularity Recipe
Bootstrap: docker
From: ubuntu:trusty
%setup
mkdir -p $SINGULARITY_ROOTFS/src
cp -Rv . $SINGULARITY_ROOTFS/src
%post
## Install the 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/*
cd /src
TAG=${SINGULARITY_BUILDDEF#Singularity.}
git checkout $TAG
sed -i -E "s/0.0.0/$TAG/" package.json
npm install -g /src
%runscript
exec /usr/bin/bids-validator $@
Collection
- Name: khanlab/bids-validator
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/khanlab-bids-validator-0.25.0 |
collection name | khanlab/bids-validator |
branch | master |
tag | 0.25.0 |
commit | bd49d17a89e7153444f5dfe0957a45858da2f72f |
version (container hash) | 640c69f72f4ca294463aa44aa77c41bf |
build date | 2018-01-15T15:00:26.184Z |
size (MB) | 376 |
size (bytes) | 130568223 |
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.