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 to ADD Arial.ttf #5084

Merged
merged 3 commits into from
Oct 7, 2021
Merged

Update Dockerfile to ADD Arial.ttf #5084

merged 3 commits into from
Oct 7, 2021

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Oct 7, 2021

Fix for 'Arial.ttf download in Docker' #5078

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Enhanced Dockerfile configuration for font management in YOLOv5.

πŸ“Š Key Changes

  • Added Arial font download to Dockerfile.
  • Adjusted the environment variable HOME setup.

🎯 Purpose & Impact

  • 🎨 Ensures consistent font availability for YOLOv5 visual outputs inside Docker, leading to uniform text rendering in images.
  • πŸ“ Changes to the HOME environment may affect file paths within Docker, streamlining environment setup.

πŸ’‘ This update enhances visual consistency and potentially simplifies environment management for users working with YOLOv5 inside Docker containers.

@glenn-jocher glenn-jocher linked an issue Oct 7, 2021 that may be closed by this pull request
@glenn-jocher glenn-jocher self-assigned this Oct 7, 2021
@glenn-jocher glenn-jocher merged commit ce8e5dc into master Oct 7, 2021
@glenn-jocher glenn-jocher deleted the fix/docker_arial branch October 7, 2021 21:16
This was referenced Oct 7, 2021
BjarneKuehl pushed a commit to fhkiel-mlaip/yolov5 that referenced this pull request Aug 26, 2022
* Update Dockerfile to `ADD` Arial.ttf

Fix for `Arial.ttf download in Docker` ultralytics#5078

* Cleanup

* Cleanup2
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.

Arial.ttf download in Docker
1 participant