🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/RayLabsHQ/gitea-mirror/pull/198
**Author:** [@arunavo4](https://github.com/arunavo4)
**Created:** 2/27/2026
**Status:** ✅ Merged
**Merged:** 2/27/2026
**Merged by:** [@arunavo4](https://github.com/arunavo4)
**Base:** `main` ← **Head:** `fix/docker-missing-git`
---
### 📝 Commits (1)
- [`fa6e759`](https://github.com/RayLabsHQ/gitea-mirror/commit/fa6e759d57543e93dc0e31d3bd537ccc05e943d4) fix(docker): add git and git-lfs to runner image
### 📊 Changes
**1 file changed** (+2 additions, -1 deletions)
<details>
<summary>View changed files</summary>
📝 `Dockerfile` (+2 -1)
</details>
### 📄 Description
## Summary
- Adds `git` and `git-lfs` packages to the Docker runner stage, which were missing after the Alpine → Debian image migration
- The pre-sync backup feature (enabled by default) shells out to `git clone --mirror` and `git bundle create`, so `git` must be present in the final image
Closes #196
## Test plan
- [ ] Build the Docker image and verify `git` and `git-lfs` are available inside the container
- [ ] Run a mirror sync and confirm pre-sync backup succeeds without "Executable not found" errors
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/RayLabsHQ/gitea-mirror/pull/198
Author: @arunavo4
Created: 2/27/2026
Status: ✅ Merged
Merged: 2/27/2026
Merged by: @arunavo4
Base:
main← Head:fix/docker-missing-git📝 Commits (1)
fa6e759fix(docker): add git and git-lfs to runner image📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
Dockerfile(+2 -1)📄 Description
Summary
gitandgit-lfspackages to the Docker runner stage, which were missing after the Alpine → Debian image migrationgit clone --mirrorandgit bundle create, sogitmust be present in the final imageCloses #196
Test plan
gitandgit-lfsare available inside the container🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.