diff --git a/Singularity b/Singularity new file mode 100644 index 0000000..7f53537 --- /dev/null +++ b/Singularity @@ -0,0 +1,16 @@ +Bootstrap: docker +From: julia:1.5-buster + +%post + mkdir /julia + export JULIA_DEPOT_PATH=/julia + julia -e 'import Pkg; Pkg.update(); Pkg.add(url="https://github.com/twesterhout/Plasmons.jl"); Pkg.precompile()' + +%environment + export JULIA_DEPOT_PATH=/julia + +%test + julia -e 'import Plasmons' + +%runscript + julia -e 'import Plasmons; Plasmons.julia_main()' -- "$@"