mirror of
https://github.com/NixOS/nix
synced 2025-06-24 18:01:16 +02:00
docker: expose config.Cmd
as parameter
This commit is contained in:
parent
18dc96269d
commit
bb44347fac
1 changed files with 2 additions and 2 deletions
|
@ -26,6 +26,7 @@
|
|||
"org.opencontainers.image.version" = nix.version;
|
||||
"org.opencontainers.image.description" = "Nix container image";
|
||||
},
|
||||
Cmd ? [ (lib.getExe bashInteractive) ],
|
||||
# Default Packages
|
||||
nix,
|
||||
bashInteractive,
|
||||
|
@ -359,8 +360,7 @@ dockerTools.buildLayeredImageWithNixDb {
|
|||
'';
|
||||
|
||||
config = {
|
||||
inherit Labels;
|
||||
Cmd = [ (lib.getExe bashInteractive) ];
|
||||
inherit Cmd Labels;
|
||||
User = "${toString uid}:${toString gid}";
|
||||
Env = [
|
||||
"USER=${uname}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue