Skip to content

Commit bc17468

Browse files
heysamtexasclaude
andcommitted
fix: add Git to Dockerfile for django-allauth fork dependency
The docker build was failing because uv sync tried to clone the django-allauth fork repository but Git was not available in the python:3.12-slim container. Changes: - Install git package via apt-get in Dockerfile - Clean up apt cache to minimize image size - Enables successful docker build with git-based dependencies Resolves docker build error: "Git executable not found. Ensure that Git is installed and available." 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 6a39365 commit bc17468

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
FROM python:3.12-slim
22

3+
# Install system dependencies
4+
RUN apt-get update && apt-get install -y \
5+
git \
6+
&& rm -rf /var/lib/apt/lists/*
7+
38
# Install uv
49
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
510

0 commit comments

Comments
 (0)