braindynamicslab/dyneusr:latest
$ singularity pull shub://braindynamicslab/dyneusr:latest
Singularity Recipe
# Your version: 0.6.0 Latest version: 0.6.0
# Generated by Neurodocker version 0.6.0
# Timestamp: 2020-04-01 18:41:47 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: centos:7
%post
export ND_ENTRYPOINT="/neurodocker/startup.sh"
yum install -y -q \
bzip2 \
ca-certificates \
curl \
localedef \
unzip
yum clean packages
rm -rf /var/cache/yum/*
localedef -i en_US -f UTF-8 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
test "$(getent passwd neuro)" || useradd --no-user-group --create-home --shell /bin/bash neuro
su - neuro
sed -i '$isource activate neuro' $ND_ENTRYPOINT
export PATH="/opt/miniconda-latest/bin:$PATH"
echo "Downloading Miniconda installer ..."
conda_installer="/tmp/miniconda.sh"
curl -fsSL --retry 5 -o "$conda_installer" https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash "$conda_installer" -b -p /opt/miniconda-latest
rm -f "$conda_installer"
conda update -yq -nbase conda
conda config --system --prepend channels conda-forge
conda config --system --set auto_update_conda false
conda config --system --set show_channel_urls true
sync && conda clean -y --all && sync
conda create -y -q --name neuro
conda install -y -q --name neuro \
"git" \
"numpy" \
"pandas" \
"scipy" \
"scikit-learn" \
"matplotlib" \
"seaborn" \
"networkx" \
"jupyter"
sync && conda clean -y --all && sync
bash -c "source activate neuro
pip install --no-cache-dir \
"nilearn" \
"kmapper" \
"dyneusr""
rm -rf ~/.cache/pip/*
sync
yum install -y None \
emacs
yum clean packages
rm -rf /var/cache/yum/*
echo '{
\n "pkg_manager": "yum",
\n "instructions": [
\n [
\n "base",
\n "centos:7"
\n ],
\n [
\n "_header",
\n {
\n "version": "generic",
\n "method": "custom"
\n }
\n ],
\n [
\n "user",
\n "neuro"
\n ],
\n [
\n "add_to_entrypoint",
\n "source activate neuro"
\n ],
\n [
\n "miniconda",
\n {
\n "create_env": "neuro",
\n "conda_install": [
\n "git",
\n "numpy",
\n "pandas",
\n "scipy",
\n "scikit-learn",
\n "matplotlib",
\n "seaborn",
\n "networkx",
\n "jupyter"
\n ],
\n "pip_install": [
\n "nilearn",
\n "kmapper",
\n "dyneusr"
\n ]
\n }
\n ],
\n [
\n "install",
\n [
\n "emacs"
\n ]
\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"
export CONDA_DIR="/opt/miniconda-latest"
export PATH="/opt/miniconda-latest/bin:$PATH"
%runscript
/neurodocker/startup.sh "$@"
Collection
- Name: braindynamicslab/dyneusr
- License: BSD 3-Clause “New” or “Revised” License
View on Datalad
Metrics
key | value |
---|---|
id | /containers/braindynamicslab-dyneusr-latest |
collection name | braindynamicslab/dyneusr |
branch | master |
tag | latest |
commit | ff632085abdf1f7317bbe9a37b1a1e472be4e3f6 |
version (container hash) | 61bb18e2071a8da3b3d7b59ac411c4c0 |
build date | 2020-08-06T19:01:12.892Z |
size (MB) | 2446.0 |
size (bytes) | 783425567 |
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.