diff --git a/docker/skills-init/Dockerfile b/docker/skills-init/Dockerfile index e884f34cf..032281e47 100644 --- a/docker/skills-init/Dockerfile +++ b/docker/skills-init/Dockerfile @@ -17,7 +17,13 @@ FROM alpine:3.23 ARG PYTHON_UID=1001 ARG PYTHON_GID=1001 -RUN apk upgrade --no-cache && apk add --no-cache git +RUN apk upgrade --no-cache && apk add --no-cache git openssh-client + +# ssh-keyscan is required by skills-init.sh when an Agent uses SSH-based git +# auth (gitAuthSecretRef -> kubernetes.io/ssh-auth). Verify it is on PATH so a +# future package change cannot silently reintroduce the missing-binary regression. +RUN command -v ssh-keyscan >/dev/null + COPY --from=krane-builder /build/krane /usr/local/bin/krane # Run as the same UID/GID as the main agent container (python user) so that