From aa9cc709ec03097276a974e7004667a1541930ec Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Mon, 30 Mar 2026 06:45:39 -0700 Subject: [PATCH] Fix Kingfisher container: add bash and coreutils for CronJob shell Nix containers don't include a shell by default. The CronJob needs /bin/bash for the inline script that generates timestamped filenames. Co-Authored-By: Claude Opus 4.6 (1M context) --- argocd/manifests/kingfisher/cronjob.yaml | 2 +- containers/kingfisher/default.nix | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/argocd/manifests/kingfisher/cronjob.yaml b/argocd/manifests/kingfisher/cronjob.yaml index 5720810..610d862 100644 --- a/argocd/manifests/kingfisher/cronjob.yaml +++ b/argocd/manifests/kingfisher/cronjob.yaml @@ -18,7 +18,7 @@ spec: containers: - name: kingfisher image: registry.ops.eblu.me/blumeops/kingfisher:kustomized - command: ["/bin/sh", "-c"] + command: ["/bin/bash", "-c"] args: - | set -e diff --git a/containers/kingfisher/default.nix b/containers/kingfisher/default.nix index c937955..c9e95b4 100644 --- a/containers/kingfisher/default.nix +++ b/containers/kingfisher/default.nix @@ -98,6 +98,8 @@ pkgs.dockerTools.buildLayeredImage { name = "blumeops/kingfisher"; contents = [ kingfisher + pkgs.bashInteractive + pkgs.coreutils pkgs.cacert pkgs.git pkgs.tzdata