This commit is contained in:
Cadey Ratio 2020-02-29 02:55:56 +00:00
parent 37b64dd0d4
commit eef15af5f3
1 changed files with 4 additions and 5 deletions

View File

@ -1,8 +1,7 @@
{ sources ? import ./nix/sources.nix, pkgs ? import sources.nixpkgs { } }:
attrs:
pkgs.dockerTools.buildLayeredImage {
config = {
WorkingDir = "/";
};
} // attrs
let
default = { config.WorkingDir = "/"; };
input = (default // attrs);
in pkgs.dockerTools.buildLayeredImage input