Skip to content

Commit

Permalink
fix(flake): minimal dockerTools image
Browse files Browse the repository at this point in the history
Signed-off-by: Cameron Smith <[email protected]>
  • Loading branch information
cameronraysmith committed Dec 22, 2023
1 parent 0fd3089 commit ea18fc7
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -318,27 +318,27 @@
tag = "latest";
created = "now";

contents = [
mkRootNss
(pkgs.buildEnv {
name = "root";
paths = sysPackages;
pathsToLink = "/bin";
})
rcRoot
packageGitRepoInContainer
];
# copyToRoot = [
# mkRootNss
# (pkgs.buildEnv {
# name = "root";
# paths = sysPackages;
# pathsToLink = "/bin";
# })
# rcRoot
# packageGitRepoInContainer
# ];

config = {
Entrypoint = [];
Cmd = [ "${pkgs.bashInteractive}/bin/bash" "-c" "${pkgs.zsh}/bin/zsh" ];
Env = [
"PATH=${with pkgs; lib.makeBinPath (sysPackages ++ devPackages ++ pythonPackages)}"
"SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
"NIX_PAGER=cat"
"USER=root"
"HOME=/root"
];
# Env = [
# "PATH=${with pkgs; lib.makeBinPath (sysPackages ++ devPackages ++ pythonPackages)}"
# "SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
# "NIX_PAGER=cat"
# "USER=root"
# "HOME=/root"
# ];
};
};
};
Expand Down

0 comments on commit ea18fc7

Please sign in to comment.