prometheus-adapter/docs
Damien Grisonnet 03e8eb8ddb Makefile: consolidate docker-build
As part of this commit, I upgraded the golang image used for building to
1.16 and consolidated how the docker-build rule was working. Previously,
it was failing in master's CI because the go modules were not downloaded
in the build image. To improve that, I replaced the combination of
docker run and docker build by a multi-stage Dockerfile responsible for
building the adapter and running it.

In addition to that, I removed the `_output` directory completely as it
wasn't really meaningful to have it anymore. I also removed the
`build-local-image` rule as it was a duplicate of the `docker-build`
rule with the only different of using a scratch base image.

Also, since all the base images that we are using by default are based
on busybox, I change the UID used in the image to 65534 which correspond
to the nobody user in busybox.

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-06-02 17:12:27 +02:00
..
config-walkthrough.md cmd/*,pkg/*,docs,go.mod: bump custom-metrics-apiserver, metrics-server 2020-10-28 15:52:12 +01:00
config.md Fix documented metrics labels to work for k8s 1.16+ 2021-03-23 09:01:56 -05:00
externalmetrics.md Add requested fixes 2021-04-23 11:27:38 -06:00
sample-config.yaml Merge pull request #380 from carsonoid/issue-324-carsonoid 2021-05-12 06:12:17 -07:00
walkthrough.md Makefile: consolidate docker-build 2021-06-02 17:12:27 +02:00