From 389b9dbb914ef59bf16e57185815594b4eb4ec01 Mon Sep 17 00:00:00 2001 From: hilr Date: Mon, 22 Jun 2026 12:25:59 +0000 Subject: [PATCH] chore: install git-lfs in the Docker image MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds the git-lfs package and runs `git lfs install --system` so the agent user gets the LFS smudge/clean filter via /etc/gitconfig — clones of LFS-tracked repos fetch real files instead of pointer stubs. Co-Authored-By: Claude Opus 4.7 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cbd64f8..73f985a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/ ENV FNM_DIR="/opt/fnm" ENV PATH="/opt/fnm/aliases/default/bin:$PATH" RUN apt-get update && apt-get install -y --no-install-recommends \ - curl ca-certificates git wget unzip \ + curl ca-certificates git git-lfs wget unzip \ libglib2.0-0 libatk1.0-0 libatk-bridge2.0-0 libcups2 \ libdrm2 libgbm1 libgtk-3-0 libxkbcommon0 libxshmfence1 \ libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 \ @@ -28,6 +28,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ > /etc/apt/sources.list.d/docker.list \ && apt-get update \ && apt-get install -y --no-install-recommends gh openssh-client docker-ce-cli \ + && git lfs install --system \ && mkdir -p /home/agent \ && echo "registry=https://registry.npmmirror.com" > /home/agent/.npmrc \ && npm config set prefix '/home/agent/.npm-global' \