Remove /tmp from docker container
This commit is contained in:
parent
340622350d
commit
b6aa71d6ac
@ -1,11 +1,7 @@
|
|||||||
{ dockerTools, writeShellScriptBin, runCommand, mcpp, bash, coreutils, ligo, name ? "ligo" }:
|
{ dockerTools, writeShellScriptBin, runCommand, mcpp, bash, coreutils, ligo, name ? "ligo" }:
|
||||||
let
|
|
||||||
# LIGO requires /tmp for compilation, which is missing in the default image
|
|
||||||
tmp = runCommand "tmp" {} "mkdir -p $out/tmp";
|
|
||||||
in
|
|
||||||
dockerTools.buildLayeredImage {
|
dockerTools.buildLayeredImage {
|
||||||
inherit name;
|
inherit name;
|
||||||
tag = "latest";
|
tag = "latest";
|
||||||
contents = [ ligo tmp bash ];
|
contents = [ ligo bash ];
|
||||||
config.Entrypoint = name;
|
config.Entrypoint = name;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user