Skip to content

Conversation

@glenn-jocher
Copy link
Member

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

Signed-off-by: Glenn Jocher [email protected]

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Update to the YOLOv5 Dockerfile for ARM64 architecture.

πŸ“Š Key Changes

  • Removed the explicit version dependency "libpython3.8-dev" and replaced it with a generic "libpython3-dev".
  • Simplified package installation command by merging multiple RUN statements into one.

🎯 Purpose & Impact

  • Flexibility: By avoiding a specific Python library version, the Docker image gains better compatibility with future versions of Python.
  • Simplicity & Maintenance: The change may also reduce maintenance efforts when upgrading the operating system or Python versions.
  • Streamlined Builds: Consolidation of RUN statements minimizes the number of layers in the Docker image, potentially leading to faster builds and smaller image sizes.
  • User Experience: This update can improve users' experience by ensuring broader compatibility. While mostly behind the scenes, it's a foundational improvement for developers using ARM64 machines.

@glenn-jocher glenn-jocher self-assigned this Aug 28, 2022
@glenn-jocher glenn-jocher merged commit 53711ba into master Aug 28, 2022
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-2 branch August 28, 2022 20:14
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.

2 participants