From 7f54941ca4fc0434e57138504a5b1c626c437fbe Mon Sep 17 00:00:00 2001 From: jgrusewski Date: Mon, 15 Jun 2026 22:14:07 +0200 Subject: [PATCH] fix(ci): deploy uses alpine/k8s (has /bin/sh); registry.k8s.io/kubectl is distroless MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit registry.k8s.io/kubectl is distroless — no /bin/sh — so the multi-command deploy script failed with exit 64 (no such file /bin/sh). alpine/k8s bundles kubectl on an Alpine base with a shell. Co-Authored-By: Claude Opus 4.8 (1M context) --- infra/argo/cockpit-build-deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/argo/cockpit-build-deploy.yaml b/infra/argo/cockpit-build-deploy.yaml index 01f7ea6..052aa94 100644 --- a/infra/argo/cockpit-build-deploy.yaml +++ b/infra/argo/cockpit-build-deploy.yaml @@ -108,7 +108,7 @@ spec: - { name: git-ssh-key, mountPath: /etc/git-ssh, readOnly: true } - { name: workspace, mountPath: /workspace } container: - image: registry.k8s.io/kubectl:v1.31.0 # bitnami/kubectl was removed from Docker Hub (2025); use the official k8s image + image: alpine/k8s:1.31.0 # Alpine-based (has /bin/sh + kubectl). NOT registry.k8s.io/kubectl — that's distroless (no shell) and the deploy runs a shell script. bitnami/kubectl was removed from Docker Hub (2025). command: [/bin/sh, -c] args: - |