Alexander Bantyev
edb3fce642
* Dynamically linked executables (ligo-bin) * Statically linked executables (ligo-static) * Docker (ligo-docker) * deb package (ligo-deb) * webide (ligo-editor) * webide docker (ligo-editor-docker) * website (ligo-website)
11 lines
278 B
Nix
11 lines
278 B
Nix
{ dockerTools, writeShellScriptBin, runCommand, mcpp, bash, coreutils, ligo, name ? "ligo" }:
|
|
let
|
|
tmp = runCommand "tmp" {} "mkdir -p $out/tmp";
|
|
in
|
|
dockerTools.buildLayeredImage {
|
|
inherit name;
|
|
tag = "latest";
|
|
contents = [ ligo tmp bash ];
|
|
config.Entrypoint = name;
|
|
}
|