From 68009f05c16b88975961796af81524fb5599b5be Mon Sep 17 00:00:00 2001 From: Hermes Date: Mon, 25 May 2026 16:10:45 -0400 Subject: [PATCH] fix_honcho_dockerfile_ssh_client_and_keyscan --- ai/honcho/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ai/honcho/Dockerfile b/ai/honcho/Dockerfile index 20b722c..7951810 100644 --- a/ai/honcho/Dockerfile +++ b/ai/honcho/Dockerfile @@ -2,13 +2,14 @@ FROM python:3.13-slim-bookworm AS honcho-builder RUN apt-get update && \ - apt-get install -y --no-install-recommends git && \ + apt-get install -y --no-install-recommends git openssh-client && \ rm -rf /var/lib/apt/lists/* COPY --from=ghcr.io/astral-sh/uv:0.9.24 /uv /bin/uv ARG HONCHO_REPO=ssh://git@code.lazyworkhorse.net:2222/Hermes/honcho.git ARG HONCHO_REF=main +RUN mkdir -p -m 0700 ~/.ssh && ssh-keyscan -p 2222 code.lazyworkhorse.net >> ~/.ssh/known_hosts 2>/dev/null RUN --mount=type=ssh git clone --depth 1 --branch ${HONCHO_REF} ${HONCHO_REPO} /app WORKDIR /app