nlewo / nix2container

An archive-less dockerTools.buildImage implementation
Apache License 2.0
501 stars 45 forks source link

feat: add an easy way to configure users and groups and /tmp #129

Open yajo opened 4 months ago

yajo commented 4 months ago

Just like nixpkgs provides dockerTools.shadowSetup, nix2container needs a quick way to configure users, groups and permissions within the container.

Here it is.

@moduon MT-1075

yajo commented 3 months ago

Would you please let workflows run?

yajo commented 3 months ago

Tests are failing, but I think it's because of a lower-level issue that changes permissions when some derivation is in copyToRoot in a dependency layer. Could you help on that please?