2 ms·
I've started building my personal projects like this but the end result is an image running as root, which is not best practice. Have you been able to build ima
by emptysongglass 5y ago
I've started building my personal projects like this but the end result is an image running as root, which is not best practice. Have you been able to build images with Nix that run as an arbitrary user?
- flurie 5y agoThere is an example of doing this in the docker-tools examples! https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/docker/examples.nix#L449 https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-supp...