This image is used to build Go projects. It contains the Go compiler (from the official golang container) as well as additional tools that help with building projects.
First you need to confirm that the image is building and that the changes are present:
Dockerfile
and add all the changes you want to add to this base image.make build
and make sure it passes.make shell
and test your changes are indeed present.make test
to make sure all components are working.Once you confirmed the build passes and the changes are as expected do the following:
Makefile
, Dockerfile
and lib/image-test
changes.After the PR gets reviewed you need to check all the different places where grafana-build-tools
is used and update accordingly. Here git grep
is your friend:
git grep grafana-build-tools
will list all places where grafana-build-tools
is used.git grep grafana-build-tools:$OLDVERSION
same as before, but more restrictive.Assuming sane versioning schemas for the tools this container uses, the following guidelines apply: