Skip to content

Commit

Permalink
Add Singularity build file
Browse files Browse the repository at this point in the history
  • Loading branch information
twesterhout committed Sep 13, 2020
1 parent 318e81d commit 325c252
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Singularity
Original file line number Diff line number Diff line change
@@ -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()' -- "$@"

0 comments on commit 325c252

Please sign in to comment.