buildbot/nix-eval Build done.
buildbot/nix-build Build done.
buildbot/nix-effects Build done.
Build images / Build (immich) (push) Successful in 3m30s
Build images / Build (sword-container-builder) (push) Successful in 4m5s
Build images / Build (bitwarden) (push) Successful in 4m10s
Build images / Build (builder) (push) Successful in 4m15s
Build images / Build (vm-test) (push) Successful in 5m32s
47 lines
678 B
Nix
47 lines
678 B
Nix
{
|
|
bash,
|
|
cacert,
|
|
coreutils,
|
|
curlWithGnuTls,
|
|
dockerTools,
|
|
gawk,
|
|
gnugrep,
|
|
findutils,
|
|
jq,
|
|
packer,
|
|
pup,
|
|
shellcheck,
|
|
python3,
|
|
|
|
name,
|
|
...
|
|
}:
|
|
dockerTools.buildLayeredImage {
|
|
name = name "vm-test";
|
|
tag = "latest";
|
|
contents = [
|
|
bash
|
|
dockerTools.binSh
|
|
dockerTools.caCertificates
|
|
coreutils
|
|
curlWithGnuTls
|
|
dockerTools.fakeNss
|
|
gawk
|
|
gnugrep
|
|
findutils
|
|
jq
|
|
packer
|
|
pup
|
|
(python3.withPackages (x: with x; [ pyyaml ]))
|
|
shellcheck
|
|
dockerTools.usrBinEnv
|
|
];
|
|
extraCommands = ''
|
|
mkdir -p tmp
|
|
chmod 1777 tmp
|
|
'';
|
|
config.Env = [
|
|
"CURL_CA_BUNDLE=${cacert}/etc/ssl/certs/ca-bundle.crt"
|
|
];
|
|
}
|