Build in parallel, add sword builder

This commit is contained in:
Greg Hellings
2025-02-27 11:37:40 -06:00
parent 267c5cacb4
commit 17ae0dbdd5
2 changed files with 25 additions and 7 deletions
+16
View File
@@ -22,6 +22,22 @@
config.allowUnfree = true;
};
packages = {
sword-container-builder = pkgs.dockerTools.buildLayeredImage {
name = "sword-container-builder";
tag = "latest";
contents = with pkgs; [
podman
dockerTools.binSh
dockerTools.caCertificates
coreutils
gnugrep
sword
dockerTools.usrBinEnv
];
config.Env = [
"CURL_CA_BUNDLE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
];
};
vm-test = let
basicPython = (pkgs.python3.withPackages (p: with p; [ pyyaml ]));
in pkgs.dockerTools.buildLayeredImage {