Files

47 lines
678 B
Nix
Raw Permalink Normal View History

2025-11-25 22:42:47 -06:00
{
bash,
cacert,
coreutils,
curlWithGnuTls,
dockerTools,
gawk,
gnugrep,
findutils,
jq,
packer,
pup,
shellcheck,
python3,
2025-11-25 23:19:09 -06:00
name,
...
2025-11-25 22:42:47 -06:00
}:
dockerTools.buildLayeredImage {
2025-11-25 23:19:09 -06:00
name = name "vm-test";
2025-11-25 22:42:47 -06:00
tag = "latest";
contents = [
bash
dockerTools.binSh
dockerTools.caCertificates
coreutils
curlWithGnuTls
dockerTools.fakeNss
gawk
gnugrep
findutils
jq
packer
pup
2026-08-04 07:29:00 -05:00
(python3.withPackages (x: with x; [ pyyaml ]))
2025-11-25 22:42:47 -06:00
shellcheck
dockerTools.usrBinEnv
];
extraCommands = ''
mkdir -p tmp
chmod 1777 tmp
'';
config.Env = [
"CURL_CA_BUNDLE=${cacert}/etc/ssl/certs/ca-bundle.crt"
];
2025-11-25 23:19:09 -06:00
}