nix/packages/forgejo-actions-container.nix
Daniel Flanagan f637419595
Some checks failed
/ build-host (map[host:beefcake]) (push) Failing after 49s
/ build-host (map[host:dragon]) (push) Failing after 47s
/ build-host (map[host:flipflop]) (push) Failing after 51s
/ build-host (map[host:foxtrot]) (push) Failing after 51s
/ build-host (map[host:router]) (push) Failing after 40s
/ build-devshell (push) Failing after 51s
/ flake-check (push) Failing after 42s
fix: resolve conflicts and set version for CI workflow
2025-03-19 16:48:53 -05:00

40 lines
753 B
Nix

{
git,
findutils,
coreutils,
nodejs_23,
nix,
gnugrep,
gawk,
bash,
jq,
dockerTools,
cacert,
}:
let
pname = "forgejo-actions-container";
version = "3";
in
# bootstrap this into the forgejo server with
# $ podman login ${FORGEJO_ENDPOINT:-git.lyte.dev}
# $ podman image load -i (nix build .#forgejo-actions-container --print-out-paths)
# $ podman push git.lyte.dev/lytedev/nix:forgejo-actions-container-v$IMAGE_VERSION-nix-v$NIX_VERSION
dockerTools.buildLayeredImage {
name = "git.lyte.dev/lytedev/nix";
tag = "${pname}-v${version}-nix-v${nix.version}";
config = {
Cmd = [ "/bin/nix" ];
};
contents = [
nix
gnugrep
gawk
bash
jq
findutils
nodejs_23
coreutils
cacert
git
];
}