Closed hoijnet closed 2 years ago
Can you make this consistent with https://github.com/RobustPerception/azure_metrics_exporter ?
Thanks for the reference, it looks like a really neat solution.
I quickly ran into the issue of SSL support myself and made an initial Dockerfile based upon ubuntu 1604. Thinking that it is what most people would likely need, do you think it makes sense to use a modern go, but base the SSL upon static linking with ubuntu 1604 libraries?
I think it makes more sense, but will not be as clean. Looking into it though!
That sounds reasonable to me, given we're using such outdated SSL protocols the age of the distro doesn't really matter.
I added a Makefile as per azure_metrics_exporter and made the static build using ubuntu16.04. Unsure if it is what you mean with consistency with azure_metrics_exporter?
I tried locally and it was successful with an SSL NRPE endpoint as expected.
Could you unpack the "consistency" for me if I misunderstood? :-)
The dockerfiles should be as similar as possible, so for example they should be using the same base images, same target names, same structure etc.
Closing this as it's quite aged and the original author seems to not need it anymore.
The current build instructions expects the implementer to have a local Golang installation. To make it easier to start the image in Docker on a server without a Golang installation, the Dockerfile was updated to add a build step.
In the hope it's helpful.
All the best//Philippe