onetonfoot / Whale

A CLI to generate a Dockerfile from a Project.toml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Whale

This package helps with distributing julia programs by easing the creating of sysimages, relocatable apps and dockerfiles, it's a thin wrapper around PackageCompiler and PrecompileSignatures with some easy-to-use defaults. Currently, it's unregistered so install it with.

]add "https://github.com/onetonfoot/Whale.git"

There are 3 function sysimage,app and docker each takes a module as a argument.

using Whale, MyPkg
Whale.sysimage(MyPkg)

This will build and output a sysimage to ~/.julia/sysimage/MyPkg.<ext> where <ext> is the platform specific extension

using Whale, MyPkg
Whale.app(MyPkg)

This will build and output an app to ~/.julia/apps/MyPkg

using Whale, MyPkg
Whale.docker(MyPkg)

This will output a Dockerfile to the given module's pkgdir.

About

A CLI to generate a Dockerfile from a Project.toml


Languages

Language:Julia 86.7%Language:Dockerfile 13.3%