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

Fix dockerfile python dependency installation #328

Open
spwoodcock opened this issue Jan 9, 2025 · 0 comments
Open

Fix dockerfile python dependency installation #328

spwoodcock opened this issue Jan 9, 2025 · 0 comments
Assignees
Labels
bug Something isn't working devops Priority: Must have High Priority

Comments

@spwoodcock
Copy link
Member

Describe the bug

  • Until two weeks ago the dockerfile build was working.
  • Now the Python dependencies seem to be missing in the final image.
  • The /root/.local install dir is not present.

To Reproduce

  • Build the image: docker compose build.
  • Inspect the image: docker run --rm -it --entrypoint=bash ghcr.io/hotosm/osm-fieldwork:ci.
  • ls /root/.local - not present
  • pytest - doesn't work

Expected behavior

  • Perhaps pip changed the install target dir for --user flag?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working devops Priority: Must have High Priority
Projects
None yet
Development

No branches or pull requests

1 participant