diff options
author | Utku Demir <me@utdemir.com> | 2020-06-21 12:23:55 +1200 |
---|---|---|
committer | Utku Demir <me@utdemir.com> | 2020-06-21 12:35:39 +1200 |
commit | 16199521eaaf5d31952c19e44bcca205959df57f (patch) | |
tree | 5d654cab2361ee00d0b1dc920fe99f8a4b2b061e /pkgs/build-support | |
parent | fe71abfc12ede6700f599a08c7528fe66461486f (diff) |
stream_layered_image: Always set uid and gid to root
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/docker/stream_layered_image.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/build-support/docker/stream_layered_image.py b/pkgs/build-support/docker/stream_layered_image.py index 5d251e8bfb057..a9de10f9efaa1 100644 --- a/pkgs/build-support/docker/stream_layered_image.py +++ b/pkgs/build-support/docker/stream_layered_image.py @@ -67,6 +67,10 @@ def archive_paths_to(obj, paths, mtime, add_nix, filter=None): def apply_filters(ti): ti.mtime = mtime + ti.uid = 0 + ti.gid = 0 + ti.uname = "root" + ti.gname = "root" return filter(ti) def dir(path): |