mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 12:06:01 +01:00
docker: set default parameters values
This commit is contained in:
parent
b124512388
commit
3e9a100bdf
1 changed files with 22 additions and 22 deletions
44
docker.nix
44
docker.nix
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
# Core dependencies
|
# Core dependencies
|
||||||
pkgs,
|
pkgs ? import <nixpkgs> { },
|
||||||
lib,
|
lib ? pkgs.lib,
|
||||||
dockerTools,
|
dockerTools ? pkgs.dockerTools,
|
||||||
runCommand,
|
runCommand ? pkgs.runCommand,
|
||||||
buildPackages,
|
buildPackages ? pkgs.buildPackages,
|
||||||
# Image configuration
|
# Image configuration
|
||||||
name ? "nix",
|
name ? "nix",
|
||||||
tag ? "latest",
|
tag ? "latest",
|
||||||
|
|
@ -28,24 +28,24 @@
|
||||||
},
|
},
|
||||||
Cmd ? [ (lib.getExe bashInteractive) ],
|
Cmd ? [ (lib.getExe bashInteractive) ],
|
||||||
# Default Packages
|
# Default Packages
|
||||||
nix,
|
nix ? pkgs.nix,
|
||||||
bashInteractive,
|
bashInteractive ? pkgs.bashInteractive,
|
||||||
coreutils-full,
|
coreutils-full ? pkgs.coreutils-full,
|
||||||
gnutar,
|
gnutar ? pkgs.gnutar,
|
||||||
gzip,
|
gzip ? pkgs.gzip,
|
||||||
gnugrep,
|
gnugrep ? pkgs.gnugrep,
|
||||||
which,
|
which ? pkgs.which,
|
||||||
curl,
|
curl ? pkgs.curl,
|
||||||
less,
|
less ? pkgs.less,
|
||||||
wget,
|
wget ? pkgs.wget,
|
||||||
man,
|
man ? pkgs.man,
|
||||||
cacert,
|
cacert ? pkgs.cacert,
|
||||||
findutils,
|
findutils ? pkgs.findutils,
|
||||||
iana-etc,
|
iana-etc ? pkgs.iana-etc,
|
||||||
gitMinimal,
|
gitMinimal ? pkgs.gitMinimal,
|
||||||
openssh,
|
openssh ? pkgs.openssh,
|
||||||
# Other dependencies
|
# Other dependencies
|
||||||
shadow,
|
shadow ? pkgs.shadow,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
defaultPkgs = [
|
defaultPkgs = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue