Giter Club home page Giter Club logo

Comments (13)

jontonsoup avatar jontonsoup commented on June 19, 2024

@Maxyme Not maintainer, but FYI. I've tried building on both alpine and debian... the size difference is pretty minimal.

from docker-images.

andreacassioli avatar andreacassioli commented on June 19, 2024

@jontonsoup Could you share the Dockerfile?

from docker-images.

andreacassioli avatar andreacassioli commented on June 19, 2024

Just to mention, from docker image ls

  • python3 alpine : 92MB
  • continuumio/miniconda3: 571MB

Either miniconda is not that minimal, or alpine is much smaller, or both!

from docker-images.

jontonsoup avatar jontonsoup commented on June 19, 2024

@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.

from docker-images.

mingwandroid avatar mingwandroid commented on June 19, 2024

Also continuumio/miniconda3: 571MB is wrong, we use hardlinks, I suspect you are counting them twice.

from docker-images.

mingwandroid avatar mingwandroid commented on June 19, 2024

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.

from docker-images.

andreacassioli avatar andreacassioli commented on June 19, 2024

@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.

from docker-images.

msarahan avatar msarahan commented on June 19, 2024

We do, actually: https://hub.docker.com/r/continuumio/miniconda/

from docker-images.

mrocklin avatar mrocklin commented on June 19, 2024

See also #77, which shaves of 70MB or so

from docker-images.

mrocklin avatar mrocklin commented on June 19, 2024

Either miniconda is not that minimal, or alpine is much smaller, or both!

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.

from docker-images.

OrangeDog avatar OrangeDog commented on June 19, 2024

This has been done.
continuumio/miniconda3:4.7.12 is 151MB
continuumio/miniconda3:4.7.12-alpine is 55MB

from docker-images.

mrocklin avatar mrocklin commented on June 19, 2024

Nice.

from docker-images.

andreacassioli avatar andreacassioli commented on June 19, 2024

awesome

from docker-images.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.