Skip to content
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

Add .git to .dockerignore #8815

Merged
merged 1 commit into from
Aug 1, 2022
Merged

Add .git to .dockerignore #8815

merged 1 commit into from
Aug 1, 2022

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Aug 1, 2022

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Improved Docker build context by including .git directory.

πŸ“Š Key Changes

  • Modified .dockerignore to stop ignoring the .git directory.

🎯 Purpose & Impact

  • Purpose: This change allows the .git directory to be included in the Docker build context, enabling operations that may depend on Git metadata or history.
  • Impact: Users who build Docker images from this repository may notice a slight increase in the build context size, potentially leading to marginally longer image build times. On the positive side, this enables more advanced use-cases where Git information within the Docker container is necessary, such as versioning or continuous integration tasks.

@glenn-jocher glenn-jocher self-assigned this Aug 1, 2022
@glenn-jocher glenn-jocher merged commit 7b9cc32 into master Aug 1, 2022
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch August 1, 2022 01:33
ctjanuhowski pushed a commit to ctjanuhowski/yolov5 that referenced this pull request Sep 8, 2022
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.

None yet

1 participant