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

Support specifying system packages to install in Docker #41

Open
palmskog opened this issue May 27, 2020 · 6 comments
Open

Support specifying system packages to install in Docker #41

palmskog opened this issue May 27, 2020 · 6 comments
Labels
enhancement New feature or request

Comments

@palmskog
Copy link
Member

Some extraction projects rely on OCaml libraries that require certain system packages to be installed. There should be a way in meta.yml to specify these system packages and have them be installed in Travis and other CIs that rely on Docker images.

@Zimmi48
Copy link
Member

Zimmi48 commented May 28, 2020

The good practice in this case is to use opam depext fields. Then, the CI templates could simply run opam-depext (which is included in opam >= 1.1).

@palmskog palmskog added the enhancement New feature or request label May 28, 2020
@erikmd
Copy link
Member

erikmd commented May 28, 2020

@Zimmi48 for this feature request, should we create a related issue in https://github.com/coq-community/docker-coq-action/issues as well?

@Zimmi48
Copy link
Member

Zimmi48 commented May 30, 2020

@erikmd I guess so.

@erikmd
Copy link
Member

erikmd commented Aug 11, 2021

Hi @palmskog,

do you believe this use case still needs some automation via a dedicated feature in docker-coq-action and/or in templates?

FWIW, there is now:

But as mentioned earlier by @Zimmi48#41 (comment) −, some (not all) system-wide install can be triggered by opam-depext

@palmskog
Copy link
Member Author

@erikmd I still need this feature for some of my projects, but the non-depext workaround (your installation of Debian packages) is not a huge pain. But hasn't depext now been improved in opam 2.1 and later? I think we can keep this issue open until we figure out the "right" way to install depext'd stuff.

@Zimmi48
Copy link
Member

Zimmi48 commented Aug 11, 2021

Yes, opam-depext is now superseded by opam install itself in opam 2.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants