dockerTools: test buildLayeredImage

This commit is contained in:
Graham Christensen
2018-09-27 14:19:43 -04:00
parent d1e46df24b
commit fb2d153dac
2 changed files with 11 additions and 0 deletions
+7
View File
@@ -150,4 +150,11 @@ rec {
contents = [ pkgs.coreutils ];
created = "now";
};
# 10. Create a layered image
layered-image = pkgs.dockerTools.buildLayeredImage {
name = "layered-image";
tag = "latest";
config.Cmd = [ "${pkgs.hello}/bin/hello" ];
};
}