Skip to content

Add Docker --file argument to build#7527

Merged
glenn-jocher merged 1 commit intomasterfrom
docker/file
Apr 22, 2022
Merged

Add Docker --file argument to build#7527
glenn-jocher merged 1 commit intomasterfrom
docker/file

Conversation

@glenn-jocher
Copy link
Copy Markdown
Member

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

https://docs.docker.com/engine/reference/commandline/build/

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Refinement of Docker build commands in the Ultralytics YOLOv5 repository.

📊 Key Changes

  • Explicitly specified Dockerfile paths in the build commands for GPU and CPU Docker images.

🎯 Purpose & Impact

  • 🛠 Purpose: Ensures clarity and correctness when building Docker images, especially in cases where Docker is run from a directory different from the Dockerfile's location.
  • 🚀 Impact: Users have improved guidance for building Docker images, reducing the chance of errors and increasing convenience.

@glenn-jocher glenn-jocher self-assigned this Apr 22, 2022
@glenn-jocher glenn-jocher merged commit b804b36 into master Apr 22, 2022
@glenn-jocher glenn-jocher deleted the docker/file branch April 22, 2022 03:31
BjarneKuehl pushed a commit to fhkiel-mlaip/yolov5 that referenced this pull request Aug 26, 2022
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