From 5185cc720a5ecb2afb5eae597e56057fa3088147 Mon Sep 17 00:00:00 2001 From: dev-qwen2 Date: Fri, 17 Apr 2026 16:28:43 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20[nomad-step-4]=20S4-fix-4=20=E2=80=94=20?= =?UTF-8?q?Dockerfile=20COPY=20tea=20fails=20on=20fresh=20clone=20(downloa?= =?UTF-8?q?d=20instead)=20(#976)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/agents/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/agents/Dockerfile b/docker/agents/Dockerfile index 082443e..b9a110c 100644 --- a/docker/agents/Dockerfile +++ b/docker/agents/Dockerfile @@ -13,8 +13,10 @@ RUN curl -fsSL "https://github.com/getsops/sops/releases/download/v${SOPS_VERSIO -o /usr/local/bin/sops && chmod +x /usr/local/bin/sops # tea CLI — official Gitea/Forgejo CLI for issue/label/comment operations -COPY docker/agents/bin/tea /usr/local/bin/tea -RUN chmod +x /usr/local/bin/tea +# Download tea binary (replaces manual COPY of vendored binary) +ARG TEA_VERSION=0.9.2 +RUN curl -fsSL "https://dl.gitea.com/tea/${TEA_VERSION}/tea-${TEA_VERSION}-linux-amd64" \ + -o /usr/local/bin/tea && chmod +x /usr/local/bin/tea # Claude CLI is mounted from the host via docker-compose volume. # No internet access to cli.anthropic.com required at build time. -- 2.49.1