Skip to content

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.

1 participant