pluto-on-binder / make a fast pluto sysimage for a notebook
This repo includes some scripts to create a dockerfile with a precompiled sysimage for a notebook.
Basic usage
- change
Manifest.toml
Project.toml
andnotebook.jl
with yours
Advanced usage
- change
Manifest.toml
Project.toml
andnotebook.jl
with yours - add extra steps in
postBuild
: that will be used when you build the image - customize the
runpluto.sh
file to adjust how pluto will be invoked
postBuild
When to change - Use a different Pluto version
- Add more packages for Pluto
- Add sysimage creation for Pluto/change default sysimage
runpluto.sh
When to change - When you want to change how julia is being invoked, e.g.
- remove
--optimize=0
- not suggested for binder) - add
-Jplutosysimage
for a sysimage you just created for Pluto
- remove
- When you want to customize Pluto.run arguments
- Different notebook
sysimage
(default:notebook_sysimage.so
)
- Different notebook
Note: Host & Port are mostly managed by jupyter in this setting (we're starting this image from jupyter/datascience-notebook
)