brucemoran/Singularity:centos7-java8

$ singularity pull shub://brucemoran/Singularity:centos7-java8

Singularity Recipe

Bootstrap:shub
From:brucemoran/Singularity:centos7

%post

    yum -y install java-1.8.0-openjdk-devel-1.8.0.201.b09-2.el7_6.x86_64

    ##update alternatives
    update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/bin/java" 1

    echo 'export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64 PATH=$PATH:$JAVA_HOME/bin' >> $SINGULARITY_ENVIRONMENT

Collection


View on Datalad

Metrics

key value
id /containers/brucemoran-Singularity-centos7-java8
collection name brucemoran/Singularity
branch master
tag centos7-java8
commit 8f60228e961a43d5bcff6383b871bd67f68d9003
version (container hash) 37a89617ba33c31e300dde041548eda4
build date 2020-10-14T00:29:26.035Z
size (MB) 843
size (bytes) 286138399
SIF Download URL (please use pull with shub://)
Datalad URL View on Datalad
Singularity Recipe Singularity Recipe on Datalad
We cannot guarantee that all containers will still exist on GitHub.