Skip to content

Commit

Permalink
Merge pull request #947 from kamadorueda/main
Browse files Browse the repository at this point in the history
feat(build): #944 user vars
  • Loading branch information
kamadorueda authored Sep 30, 2022
2 parents bc3779b + 9b8f8ae commit d87b534
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions makes/container-image/main.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
inputs.nixpkgs.dockerTools.buildImage {
config = {
Env = [
"HOME=/home/root"
"PATH=/bin:/nix/var/nix/profiles/default/bin"
"USER=root"

# Certificate authorities
"GIT_SSL_CAINFO=/etc/ssl/certs/ca-bundle.crt"
"HOME=/home/makes"
"NIX_PATH=/nix/var/nix/profiles/per-user/makes/channels"
"NIX_SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt"
"PATH=/bin:/nix/var/nix/profiles/default/bin"
"SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt"
"SYSTEM_CERTIFICATE_PATH=/etc/ssl/certs/ca-bundle.crt"
"USER=makes"
];
User = "root:root";
WorkingDir = "/";
Expand Down

0 comments on commit d87b534

Please sign in to comment.