images/pkgs/nix-with-node/default.nix
iofq abba8eceaa
All checks were successful
/ check (push) Successful in 5m23s
init
2026-01-12 00:02:59 -06:00

31 lines
524 B
Nix

{ pkgs, ... }:
pkgs.dockerTools.buildLayeredImage {
name = "nix-with-node";
contents = with pkgs; [
./root
bashInteractive
cacert
coreutils
git
gnutar
gzip
nix
nodejs
openssh
xz
];
config = {
Cmd = [ "/bin/bash" ];
Env = [
"ENV=/etc/profile.d/nix.sh"
"NIX_BUILD_SHELL=/bin/bash"
"PATH=/usr/bin:/bin"
"SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
"USER=root"
];
};
extraCommands = ''
'';
}