prete/scanem-wip:latest
$ singularity pull shub://prete/scanem-wip:latest
Singularity Recipe
Bootstrap: docker
From: julia:1.2.0
%help
Julia 1.2 docker image
%post
JULIA_PKGDIR=/opt/julia
JULIA_VERSION=1.2.0
export JULIA_DEPOT_PATH=/opt/julia
export JULIA_PATH=/usr/local/julia
export PATH=$JULIA_PATH/bin:$PATH
mkdir -p "$JULIA_DEPOT_PATH"
julia -e 'using Pkg;pkg"add Dates Parsers PooledArrays WeakRefStrings FilePathsBase LazyArrays Libdl Mmap CategoricalArrays Missings InvertedIndices Tables TableTraits IteratorInterfaceExtensions DataAPI Unicode SortingAlgorithms Reexport TextWrap Compat Blosc ArgParse DataFrames CSV Profile Random Statistics HDF5;precompile"'
# COMPILEFOLDER=/opt/julia/compiled/v1.2/
#
# mkdir -p "$COMPILEFOLDER/ArgParse" && \
# mkdir -p "$COMPILEFOLDER/HDF5" && \
# mkdir -p "$COMPILEFOLDER/Profile" && \
# mkdir -p "$COMPILEFOLDER/DataFrames" && \
# mkdir -p "$COMPILEFOLDER/CSV" && \
# mkdir -p "$COMPILEFOLDER/Statistics"
#
# julia -e "Base.compilecache(Base.PkgId(\"ArgParse\"))" && \
# julia -e "Base.compilecache(Base.PkgId(\"HDF5\"))" && \
# julia -e "Base.compilecache(Base.PkgId(\"Profile\"))" && \
# julia -e "Base.compilecache(Base.PkgId(\"DataFrames\"))" && \
# julia -e "Base.compilecache(Base.PkgId(\"CSV\"))" && \
# julia -e "Base.compilecache(Base.PkgId(\"Statistics\"))"
chmod -R 777 /opt
chmod -R 777 /usr/local/julia
%environment
export JULIA_DEPOT_PATH=/opt/julia
export JULIA_PKGDIR=/opt/julia
# export COMPILEFOLDER=/opt/julia/compiled/v1.2/
# export JULIA_LOAD_PATH=$COMPILEFOLDER:/usr/local/julia/share/julia/stdlib/v1.2
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
julia --version
%runscript
exec julia -e "$@"
Collection
- Name: prete/scanem-wip
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/prete-scanem-wip-latest |
collection name | prete/scanem-wip |
branch | master |
tag | latest |
commit | fce53e36319d8cdc9383e93b1365ea2f6a4abf8e |
version (container hash) | f9282dbf4168ff86959b2c523c9858f2 |
build date | 2019-11-27T11:17:56.087Z |
size (MB) | 711.0 |
size (bytes) | 254005279 |
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.