Sarah Brofeldt
|
08b0d02944
|
dockerTools: Fix streamLayeredImage for symlinks
When archiving `/nix/store/foo` and `foo` is itself a symlink, we must
not traverse the symlink target, but archive the `foo` symlink itself
|
2021-01-04 19:47:34 +01:00 |
|
Utku Demir
|
ae82f81bfa
|
dockerTools.streamLayeredImage: Store the customisation layer as a tarball
This fixes as issue described here[1], where permissions set by 'extraCommands'
were ignored by Nix.
[1] https://github.com/NixOS/nixpkgs/pull/91084#issuecomment-669834938
|
2020-09-04 16:53:23 +12:00 |
|
Johan Thomsen
|
9f86685cc7
|
dockerTools: fix permissions on /nix/store
|
2020-07-30 16:20:50 +02:00 |
|
Jos van Bakel
|
66737168a4
|
dockerTools.buildLayeredImage: fix created=now
|
2020-07-09 09:34:18 +02:00 |
|
Utku Demir
|
2ae2186dfd
|
dockerTools.streamLayeredImage: Correctly copy hardlinks
|
2020-07-06 16:42:03 +12:00 |
|
Utku Demir
|
cc46362929
|
dockerTools: Support files directly under /nix/store
Also makes sure that the files inside a layer added in a sorted order
to make the results more deterministic.
|
2020-07-04 22:00:57 +12:00 |
|
Utku Demir
|
fa8f2bf34f
|
stream_layered_image: Use pathlib module for directory traversal
|
2020-06-22 15:11:04 +12:00 |
|
Utku Demir
|
16199521ea
|
stream_layered_image: Always set uid and gid to root
|
2020-06-21 12:35:39 +12:00 |
|
Utku Demir
|
fe71abfc12
|
stream_layered_image: Clarify assertion failure
|
2020-06-21 12:35:39 +12:00 |
|
Utku Demir
|
87a538e149
|
stream_layered_image: Use more descriptive variable name
|
2020-06-21 12:35:39 +12:00 |
|
Utku Demir
|
f1d7a09146
|
stream_layered_image: Add docstrings to functions
|
2020-06-21 12:35:38 +12:00 |
|
Utku Demir
|
26402290bf
|
stream_layered_image: Add main method
|
2020-06-21 12:35:38 +12:00 |
|
Utku Demir
|
4ab7baf6f6
|
stream_layered_image.py: comments
|
2020-06-21 12:35:38 +12:00 |
|
Utku Demir
|
a5a611cacb
|
Set mtime in even more places
|
2020-06-21 12:35:38 +12:00 |
|
Utku Demir
|
4e0109f873
|
Set mtime to get more deterministic builds
|
2020-06-21 12:35:37 +12:00 |
|
Utku Demir
|
560201da66
|
Implement dockerTools.streamLayeredImage
|
2020-06-21 12:35:32 +12:00 |
|