sneeuwvlok/runners/default.nix
Chris Kruining ce7b147d04
Some checks failed
Test action / Print hello world (push) Failing after 9s
move runner
2025-09-07 20:47:45 +02:00

28 lines
No EOL
466 B
Nix

{
pkgs ? import <nixpkgs> {},
pkgs_linux ? import <nixpkgs> { system = "x86_64-linux"; },
}:
with pkgs;
dockerTools.buildImage {
name = "default";
tag = "latest";
copyToRoot = buildEnv {
name = "image-root";
pathsToLink = [ "/bin" ];
paths = with pkgs_linux; [
coreutils
u-root-cmds
bash
nix
nodejs
podman
];
};
config = {
User = "runner";
Cmd = [ "${lib.getExe bashInteractive}" ];
};
}