diff options
author | Aneesh Agrawal <aneeshusa@gmail.com> | 2016-08-04T10·32-0400 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2016-08-04T10·32+0200 |
commit | c8608c488c10789d381b784cf69bb81e2e2b088d (patch) | |
tree | 964b85ce560d2cbb50db6351fe9cd48507fa15ae /scripts | |
parent | eef754813f5a9d77ceeb0f10981d0a324967dc02 (diff) |
Dockerfile: Add alpine dependencies (#1011)
* Dockerfile: add GNU tar native dependency `builtins.fetchTarball` requires GNU tar to be available in the $PATH in order to unpack the fetched tarball (there is a FIXME comment for this), which Alpine does not ship by default (it ships BusyBox tar). * Dockerfile: add GNU bash native dependency `nix-shell` defaults to invoking `bash` from the $PATH for the subshell. In theory this can be overriden with the NIX_BUILD_SHELL environment variable, but this does not work properly. `nix-shell` generates and passes a script (`$rcFile`) to be executed by the subshell which uses bashisms (`source` and `shopt`). Additionally, in interactive mode, `nix-shell` passes the `--rcfile` argument to the shell, which is another bashism. Because `bash` is thus de-facto required, add `bash` as a native package dependency to make it available for `nix-shell`.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions