diff options
author | DS <commits@sidhion.com> | 2024-01-29 18:29:12 -0800 |
---|---|---|
committer | DS <commits@sidhion.com> | 2024-02-01 01:37:31 -0800 |
commit | 0445c39047e7c994a452b023040064210e14dadf (patch) | |
tree | e53390a2432db8c3cd36e4d2cfd323d9907fb2e4 /pkgs/build-support/docker/default.nix | |
parent | 632751bf0ceeefc74af7a9d2335ea923ad9c831a (diff) |
doc: update environment helpers in dockerTools docs, add fakeNss section
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
Diffstat (limited to 'pkgs/build-support/docker/default.nix')
-rw-r--r-- | pkgs/build-support/docker/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/build-support/docker/default.nix b/pkgs/build-support/docker/default.nix index 23e439c6c423b..05a1a6fbbdaf1 100644 --- a/pkgs/build-support/docker/default.nix +++ b/pkgs/build-support/docker/default.nix @@ -805,6 +805,7 @@ rec { ''; # This provides /bin/sh, pointing to bashInteractive. + # The use of bashInteractive here is intentional to support cases like `docker run -it <image_name>`, so keep these use cases in mind if making any changes to how this works. binSh = runCommand "bin-sh" { } '' mkdir -p $out/bin ln -s ${bashInteractive}/bin/bash $out/bin/sh |