Skip to content

chore: install git-lfs in the Docker image#68

Merged
quick-sort merged 1 commit into
mainfrom
quick-sort/chore/dockerfile-git-lfs
Jun 22, 2026
Merged

chore: install git-lfs in the Docker image#68
quick-sort merged 1 commit into
mainfrom
quick-sort/chore/dockerfile-git-lfs

Conversation

@hilr

@hilr hilr commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add the git-lfs apt package alongside git in the image's first install list.
  • Run git lfs install --system after the apt installs so the LFS smudge/clean filter lands in /etc/gitconfig — the agent user (created later) inherits it, so clones of LFS-tracked repos fetch real files instead of pointer stubs.

Test plan

  • Dockerfile diff is the minimal two-line change
  • build the image and confirm git lfs version + git config --system --get-regexp lfs are populated as the agent user

🤖 Generated with Claude Code

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 <noreply@anthropic.com>
@quick-sort quick-sort merged commit 1535c45 into main Jun 22, 2026
1 check passed
@quick-sort quick-sort deleted the quick-sort/chore/dockerfile-git-lfs branch June 22, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants