[PR #198] [MERGED] fix(docker): add git and git-lfs to runner image #182

Closed
opened 2026-02-27 15:55:27 +03:00 by kerem · 0 comments
Owner

📋 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: mainHead: fix/docker-missing-git


📝 Commits (1)

  • fa6e759 fix(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

  • 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


🔄 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>
kerem 2026-02-27 15:55:27 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/gitea-mirror#182
No description provided.