This commit is contained in:
parent
ec827c4187
commit
1d6f488ebd
1 changed files with 27 additions and 27 deletions
|
@ -1,28 +1,28 @@
|
|||
{
|
||||
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}" ];
|
||||
};
|
||||
{
|
||||
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}" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue