mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
use --verbatim-files-from in dockerTools
https://www.gnu.org/software/tar/manual/html_node/files.html files starting with - can be treated as command line options, which isn't desirable here
This commit is contained in:
parent
cc3184940f
commit
b012fe5e7e
1 changed files with 1 additions and 1 deletions
|
@ -636,7 +636,7 @@ rec {
|
|||
<(sort -n layerFiles|uniq|grep -v ${layer}) -1 -3 > newFiles
|
||||
# Append the new files to the layer.
|
||||
tar -rpf temp/layer.tar --hard-dereference --sort=name --mtime="@$SOURCE_DATE_EPOCH" \
|
||||
--owner=0 --group=0 --no-recursion --files-from newFiles
|
||||
--owner=0 --group=0 --no-recursion --verbatim-files-from --files-from newFiles
|
||||
|
||||
echo "Adding meta..."
|
||||
|
||||
|
|
Loading…
Reference in a new issue