Add docker image build and release on tag
Docker image can now be build with make docker
.
This will provide the connector-prometheus
docker image.
The connector runs with a dedicated unprivileged user, and read from the environment as well as from /config.yml, which can be bind mounted on the host.
Additionally, this MR changes:
- Rename config.yml.example to config.yml
- Document
make
instead ofmake build
It also brings automatic image push to Canopsis registry on tag, which will be available at docker.canopsis.net/docker/community/connector-prometheus.
Closes: #1 (closed), canopsis/canopsis-pro#4040