-
Notifications
You must be signed in to change notification settings - Fork 283
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
miniconda3 on alpine linux #30
Comments
@Maxyme Not maintainer, but FYI. I've tried building on both alpine and debian... the size difference is pretty minimal. |
@jontonsoup Could you share the Dockerfile? |
Just to mention, from docker image ls
Either miniconda is not that minimal, or alpine is much smaller, or both! |
@andreacassioli i threw it out after the test, but your comparison above is not accurate. python 3 alpine doesn't include all the dependencies miniconda includes. Its not a fair comparison. In my experience, its all the libraries that take up the space. |
Also |
Oh and we also keep the tarballs present for all packages, these can be cleaned via conda if you are attempting to reduce a docker image size. Miniconda is comprised of about 33 packages. |
@mingwandroid Thanks for the suggestion! It would be nice if Continuum could provide a microconda image. I mean, of course one could go an tweak it, but if you could work out a very minimal image would be great. |
We do, actually: https://hub.docker.com/r/continuumio/miniconda/ |
See also #77, which shaves of 70MB or so |
Miniconda is not that minimal. It outweighs the entire debian image by several times. I don't think that debian vs alpine is yes the limiting factor. |
This has been done. |
Nice. |
awesome |
Would it be possible to add a version of the dockerfile using alpine linux instead of full debian? This would make it much faster to download and upload.
See example for redis on alpine:
https://github.com/docker-library/redis/blob/6cb8a8015f126e2a7251c5d011b86b657e9febd6/3.2/alpine/Dockerfile
The text was updated successfully, but these errors were encountered: