Files
ci-images/lib.nix
T

27 lines
449 B
Nix
Raw Normal View History

2026-01-23 17:48:04 -06:00
{ pkgs, ... }:
2026-01-20 11:34:17 -06:00
2026-01-23 17:48:04 -06:00
{
2026-01-23 17:54:24 -06:00
basePackages = with pkgs; [
bashInteractive
cacert
coreutils-full
dockerTools.binSh
dockerTools.caCertificates
dockerTools.usrBinEnv
findutils
gnugrep
gnused
];
2026-01-20 11:34:17 -06:00
2026-01-22 23:52:55 -06:00
mkImage =
2026-01-23 17:48:04 -06:00
options:
pkgs.dockerTools.buildLayeredImage (
pkgs.lib.mergeAttrs {
2026-01-22 23:52:55 -06:00
tag = "latest";
config = {
Cmd = [ "${pkgs.bashInteractive}/bin/bash" ];
};
2026-01-23 17:48:04 -06:00
} options
2026-01-22 23:52:55 -06:00
);
}