kiwiroy/singularity-perl:5.28.1
$ singularity pull shub://kiwiroy/singularity-perl:5.28.1
Singularity Recipe
Bootstrap: shub
From: kiwiroy/singularity-perlbrew
%labels
Author kiwiroy@users-noreply.github.com
Maintainer kiwiroy@users-noreply.github.com
Version 1.00
%post -c /bin/bash
echo '****************************************************'
echo 'Setup/Display Environment'
echo '****************************************************'
source $SINGULARITY_ENVIRONMENT
source ${PERLBREW_ROOT}/etc/bashrc
export PERLBREW_PERL=perl-5.28.1
env | grep -i ^perl
echo '****************************************************'
echo 'Install perl'
echo '****************************************************'
# > ${PERLBREW_ROOT}/build.${PERLBREW_PERL}.log
perlbrew --notest --verbose install ${PERLBREW_PERL} > /dev/null
echo '****************************************************'
echo 'Store Environment'
echo '****************************************************'
echo '# Using bash as default shell' > $SINGULARITY_ENVIRONMENT
echo "export SHELL=$SHELL" >> $SINGULARITY_ENVIRONMENT
echo "export PERLBREW_HOME=$PERLBREW_HOME" >> $SINGULARITY_ENVIRONMENT
perlbrew env ${PERLBREW_PERL} >> $SINGULARITY_ENVIRONMENT
echo 'export PATH="${PERLBREW_PATH}:${PATH}"' >> $SINGULARITY_ENVIRONMENT
%runscript
$*
%test
if test "${SINGULARITY_CHECKTAGS:-}" = "bootstrap"; then
. $SINGULARITY_ENVIRONMENT
fi
perl -E 'say $^X; say $^V;'
env | grep -i ^perl
Collection
- Name: kiwiroy/singularity-perl
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/kiwiroy-singularity-perl-5.28.1 |
collection name | kiwiroy/singularity-perl |
branch | master |
tag | 5.28.1 |
commit | e1d13ffada9a2347ab89f49d2415cf1e86d713a6 |
version (container hash) | 92a23ed6b3db63fa79d288980b0bd272 |
build date | 2019-04-27T17:36:59.261Z |
size (MB) | 635 |
size (bytes) | 184770591 |
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.