query
On this page

shellScript

pkgs.dockerTools.shellScript

Docs pulled from | This Revision | about 1 hour ago


things like ls or echo will be missing.


Noogle detected

Implementation

The following is the current implementation of this function.

shellScript = name: text:
    writeScript name ''
      #!${runtimeShell}
      set -e
      export PATH=${coreutils}/bin:/bin
      ${text}
    '';