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

haskell:run image #56

Closed
AlistairB opened this issue Jan 2, 2022 · 2 comments
Closed

haskell:run image #56

AlistairB opened this issue Jan 2, 2022 · 2 comments

Comments

@AlistairB
Copy link
Contributor

AlistairB commented Jan 2, 2022

I think it would be nice to have images like haskell:run-9.2.1-buster which has the core packages required to run a haskell binary compiled with a given version + platform.

Something like:

FROM debian:buster-slim

RUN apt-get update \
 && apt-get install -y --no-install-recommends \
    libgmp10 \
    ca-certificates \
 && rm -rf /var/lib/apt/lists/*
@jmtd
Copy link
Contributor

jmtd commented Apr 26, 2022

libgmp10 is already installed in debian:10-slim and debian:11-slim. ca-certificates is not. I expect a lot of Haskell programs would need that, but not all: I have been experimenting with builder/runner images for my thing and I don't need ca-certificates (although I do have other dependencies I do need, so I will still need to do custom runtime images even if you provided some).

Given your resource issues (#72), I would suggest not increasing the burden of the number of images to maintain.

@AlistairB
Copy link
Contributor Author

Ah good point, I did not realise libgmp10 was bundled with debian these days. In that case I tend to agree the run image desirability goes down a lot. Thanks for the info!

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