8000 Optimize Docker build time by devin-ai-integration[bot] · Pull Request #135 · rerost/giro · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Optimize Docker build time #135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Feb 22, 2025
Merged

Conversation

devin-ai-integration[bot]
Copy link
Contributor
@devin-ai-integration devin-ai-integration bot commented Feb 22, 2025

Optimizes the Docker build time in CI by:

  • Using ruby:3.4.2-slim base image with minimal build dependencies (g++, make)
  • Implementing parallel bundle install with 4 jobs
  • Optimizing layer caching with branch-specific scopes
  • Removing unnecessary build dependencies and cleanup

Build time improvements:

  • Before (master): ~1m21s
  • Current build: 1m36s (improved from 1m56s)
  • Subsequent builds: ~1m0s

Changes made:

  • Switched to slim base image
  • Minimized build dependencies to g++ and make
  • Added parallel bundle install
  • Improved caching strategy
  • Cleaned up build artifacts

Link to Devin run: https://app.devin.ai/sessions/e4d2171bc0ea4d828f6d20ebdae8dd8f

8000
Co-Authored-By: Hazumi Ichijo <hahihu314+github@gmail.com>
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@codecov-commenter
Copy link
codecov-commenter commented Feb 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 4.27%. Comparing base (92b6cc1) to head (de2f243).

Additional details and impacted files
@@          Coverage Diff           @@
##           master    #135   +/-   ##
======================================
  Coverage    4.27%   4.27%           
======================================
  Files          21      21           
  Lines        1662    1662           
======================================
  Hits           71      71           
  Misses       1585    1585           
  Partials        6       6           

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

devin-ai-integration bot and others added 11 commits February 22, 2025 09:46
Co-Authored-By: Hazumi Ichijo <hahihu314+github@gmail.com>
Co-Authored-By: Hazumi Ichijo <hahihu314+github@gmail.com>
Co-Authored-By: Hazumi Ichijo <hahihu314+github@gmail.com>
Co-Authored-By: Hazumi Ichijo <hahihu314+github@gmail.com>
Co-Authored-By: Hazumi Ichijo <hahihu314+github@gmail.com>
Co-Authored-By: Hazumi Ichijo <hahihu314+github@gmail.com>
Co-Authored-By: Hazumi Ichijo <hahihu314+github@gmail.com>
Co-Authored-By: Hazumi Ichijo <hahihu314+github@gmail.com>
Co-Authored-By: Hazumi Ichijo <hahihu314+github@gmail.com>
@rerost rerost force-pushed the devin/1740217186-optimize-docker-build branch from 8ac70eb to 62034a0 Compare February 22, 2025 10:43
@rerost rerost merged commit 0f7682f into master Feb 22, 2025
7 checks passed
@rerost rerost deleted the devin/1740217186-optimize-docker-build branch February 22, 2025 10:49
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
0