Skip to content

Dockerfile "pip install pyyaml" -> "apt install python3-yaml" #10816

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

Open
smoe opened this issue Apr 11, 2025 · 0 comments
Open

Dockerfile "pip install pyyaml" -> "apt install python3-yaml" #10816

smoe opened this issue Apr 11, 2025 · 0 comments

Comments

@smoe
Copy link

smoe commented Apr 11, 2025

Pyyaml is available as a Debian package (python3-yaml),
for the sake of simplicity or reproducibility it may be preferable to install that package instead of running pip when preparing the Docker image
https://github.com/iNavFlight/inav/blob/1fa4ac29e6b1f2f518c61dc3053005b280579c4b/Dockerfile#L11C17-L11C23

Please ping me if there is something else you need packaged in Debian.

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

No branches or pull requests

1 participant