GithubHelp home page GithubHelp logo

Comments (5)

deniszh avatar deniszh commented on August 17, 2024

Hello @davecoutts,
Thanks a lot for your contribution to the project, much appreciated!
Unfortunately, we can't easily remove gcc, dev libraries and python sources from the target image, because currently it can be needed to make offline Graphite installation if /opt/graphite directory is mounted by docker and empty - https://github.com/graphite-project/docker-graphite-statsd/blob/master/conf/etc/my_init.d/01_conf_init.sh#L20-L22.
Probably you can copy whole /opt/graphite somewhere and copy it back instead of installation in runtime, which is possible, but require some work - and it will probably consume space of final image too.
I have no big interest in the reducing Docker images' size per se, but, of course, I will gladly accept PR if it will not break too much of existing functionality of the image.

from docker-graphite-statsd.

davecoutts avatar davecoutts commented on August 17, 2024

Hi @deniszh
Oh I see. I hadn't appreciated the image had that functionality.
The size optimisations I have applied will certainly break the setup where local volumes are mounts.
I'm going to close this issue as what I have suggested is not appropriate in this case.
Thanks.

from docker-graphite-statsd.

deniszh avatar deniszh commented on August 17, 2024

Hi @davecoutts ,
I made similar PR using your idea, but using multistage build instead - #56
Thanks!

from docker-graphite-statsd.

davecoutts avatar davecoutts commented on August 17, 2024

from docker-graphite-statsd.

deniszh avatar deniszh commented on August 17, 2024

Nice tool, thanks, @davecoutts !

from docker-graphite-statsd.

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.