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 docker build when UID in the host mismatches hardcoded UID in container, e.g. ocaml/opam2 #20

Closed
igor-petruk opened this issue Nov 11, 2019 · 0 comments

Comments

@igor-petruk
Copy link
Owner

Example ocaml/opam2 image - uses hardcoded 1000 user. If you replace it with docker --user $PID, opam is not initialized anymore.

I can anticipate similar issues for non-root containers. Semantics of working with Docker should be thought through better.

@igor-petruk igor-petruk changed the title Fix docker build when UID in the host and in container mismatch. Fix docker build when UID in the host mismatches hardcoded UID in container, e.g. ocaml/opam2 Nov 11, 2019
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