1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00
nixpkgs/pkgs/build-support/docker
Samuel Dionne-Riel 60737bd319 dockerTools: fixes extraCommands for mkRootLayer.
The extraCommands was, previously, simply put in the body of the script
using nix expansion `${extraCommands}` (which looks exactly like bash
expansion!).

This causes issues like in #34779 where scripts will eventually create
invalid bash.

The solution is to use a script like `run-as-root`.

 * * *

Fixes #34779
2018-05-24 06:51:26 -04:00
..
default.nix dockerTools: fixes extraCommands for mkRootLayer. 2018-05-24 06:51:26 -04:00
detjson.py
examples.nix dockerTools.pullImage: Skopeo pulls images by digest 2018-05-02 21:32:20 +02:00
tarsum.go dockerTools.tarsum: Fix upstream import 2018-03-26 18:47:31 +02:00