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

Update Dockerfile-arm64 to libpython3-dev #9187

Merged
merged 1 commit into from
Aug 28, 2022
Merged

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.

1 participant