dcu / mongodb_exporter

MongoDB exporter for prometheus.io
MIT License
353 stars 216 forks source link

shrink Docker image size to ~15MB #57

Closed deepthawtz closed 7 years ago

deepthawtz commented 7 years ago

instead of installing Go + dependencies in Dockerfile, just COPY the linux binary in

shrinks image from ~100+MB to ~15MB

This will also allow everyone to build mongodb_exporter in the Go version of their choice w/o having to modify Dockerfile