Skip to content

Add git to Docker build stage for Litestar repo cloning#30

Merged
shenanigansd merged 1 commit into
mainfrom
claude/hopeful-cannon-8kmQI
May 31, 2026
Merged

Add git to Docker build stage for Litestar repo cloning#30
shenanigansd merged 1 commit into
mainfrom
claude/hopeful-cannon-8kmQI

Conversation

@shenanigansd
Copy link
Copy Markdown
Member

Summary

Added git installation to the Docker build stage to support cloning the Litestar repository during the build process.

Key Changes

  • Install git package in the Docker build stage using apt-get
  • Clean up apt package lists after installation to minimize layer cache bloat
  • Added explanatory comment documenting why git is needed and the cleanup rationale

Implementation Details

The git installation is added early in the Dockerfile (after environment variable setup) to ensure it's available for subsequent build steps that may need to clone the Litestar repository. The apt lists are explicitly removed after installation to keep the layer clean, even though this intermediate stage isn't shipped in the final image.

https://claude.ai/code/session_01KzsG8JredPtrPiWrvt3bpa

@shenanigansd shenanigansd merged commit d6fc569 into main May 31, 2026
11 checks passed
@shenanigansd shenanigansd deleted the claude/hopeful-cannon-8kmQI branch May 31, 2026 17:10
@codecov
Copy link
Copy Markdown

codecov Bot commented May 31, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (7027128) to head (c9fbea2).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #30   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           11        11           
  Lines          521       521           
  Branches        26        26           
=========================================
  Hits           521       521           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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