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

Refactor Dockerfiles to utils/docker #7510

Merged
merged 3 commits into from
Apr 20, 2022
Merged

Refactor Dockerfiles to utils/docker #7510

merged 3 commits into from
Apr 20, 2022

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Apr 20, 2022

Also add lighter Dockerfile-cpu for CPU-only environments.

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Improvements to Docker setup for YOLOv5 including organization and CPU-only support 🐳.

πŸ“Š Key Changes

  • 🚚 Moved .dockerignore and Dockerfile to utils/docker/ directory to improve project organization.
  • 🎨 Updated Dockerfile to add an additional font Arial.Unicode.ttf for enhanced text support.
  • 🧹 Cleaned up the Dockerfile by removing a redundant environment variable setting.
  • πŸ†• Added a new Dockerfile-cpu for creating a CPU-only Docker image, which provides an alternative for environments without GPU support.

🎯 Purpose & Impact

  • πŸ—‚οΈ Organizing Docker-related files helps maintain a clean and structured repository.
  • ✏️ Adding Unicode font support offers better text rendering, especially for non-Latin characters, which is crucial in a globalized context.
  • 🧼 Removing unnecessary code simplifies the Docker image and reduces potential confusion for users customizing their environment.
  • πŸ’» The CPU-only Dockerfile allows users without GPUs to easily deploy YOLOv5, broadening the reach and usability of the software on more devices and platforms.

@glenn-jocher glenn-jocher self-assigned this Apr 20, 2022
@glenn-jocher glenn-jocher changed the title Refactor Docker files Refactor Dockerfiles to utils/docker Apr 20, 2022
@glenn-jocher glenn-jocher changed the title Refactor Dockerfiles to utils/docker Refactor Dockerfiles to utils/docker Apr 20, 2022
@glenn-jocher glenn-jocher merged commit 918d7b2 into master Apr 20, 2022
@glenn-jocher glenn-jocher deleted the update/docker branch April 20, 2022 21:23
BjarneKuehl pushed a commit to fhkiel-mlaip/yolov5 that referenced this pull request Aug 26, 2022
* Refactor Docker files

* Refactor Docker files

* Update Dockerfile
ctjanuhowski pushed a commit to ctjanuhowski/yolov5 that referenced this pull request Sep 8, 2022
* Refactor Docker files

* Refactor Docker files

* Update Dockerfile
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