runners/src/default.nix
Chris Kruining 12a4a85510
Some checks failed
Create OCI image(s) / Build and push images (push) Failing after 1m51s
..
2025-09-08 13:07:20 +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}" ];
};
}