Comments (5)
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.
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.
Hi @davecoutts ,
I made similar PR using your idea, but using multistage build instead - #56
Thanks!
from docker-graphite-statsd.
from docker-graphite-statsd.
Nice tool, thanks, @davecoutts !
from docker-graphite-statsd.
Related Issues (20)
- [Q] Request for updated of build 1.1.8 HOT 2
- [BUG] Unable to create image on Oracle Linux 8 on Windows 11 Virtual Box 6.1.x HOT 3
- Need root permissions to run graphite HOT 2
- [BUG] collectd won't start in 1.1.10
- Tweak collectd monitoring so that disk free reports actually work HOT 2
- [BUG] Cannot start 1.1.10-2 image HOT 2
- [BUG] Issue after moving from 1.1.9 to 1.1.10 docker image HOT 1
- [Q] HOT 3
- [Q] graphite server memory leakage HOT 1
- [BUG] PostgreSQL AssertionError database connection isn't set to UTC HOT 5
- [BUG] StatsD won't work with TCP even if STATSD_INTERFACE=tcp HOT 12
- [Q] 404 Not Found
- Enable AMQP by Default HOT 4
- [BUG] HOT 6
- [Q] How to increase nginx timeout to reduce 504 errors upon query
- [Q] nginx timeout HOT 1
- [BUG] web UI does not open when ran on ubuntu 22 with docker 24.0.5 HOT 1
- [BUG] Using CARBON_AMQP_METRIC_NAME_IN_BODY not working HOT 1
- [BUG]: Error: Cannot find module '/opt/statsd/stats.js'
- python-ldap needs openldap APK
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-graphite-statsd.