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

opam-repository in Docker #11

Closed
liyishuai opened this issue Mar 8, 2020 · 2 comments
Closed

opam-repository in Docker #11

liyishuai opened this issue Mar 8, 2020 · 2 comments

Comments

@liyishuai
Copy link

Are there specific reasons to:

  1. Use OPAM with a deep clone of opam-repository rather than the default https://opam.ocaml.org, and
  2. Set WorkingDir to /home/opam/opam-repository rather than /home/opam?
@liyishuai
Copy link
Author

Background: In coq-community/docker-base#5 (comment) I considered to base Coq images on top of ocaml/opam2, but the settings here have confused me.

@avsm
Copy link
Member

avsm commented Nov 3, 2022

To answer these questions somewhat late: the reason for the deep clone is that the ocaml-ci picks a specific revision to test against, and this requires a full git checkout. Hope that helps.

@avsm avsm closed this as completed Nov 3, 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

No branches or pull requests

2 participants