Grafana-dev in Docker

Hello, we are trying to setup the Grafana-dev environment in a Docker container to test plugin development, and was wondering if there was a proper guide for doing that? We see that there is an official grafana-dev docker image on Docker hub, but that this image does not use the same versioning as the normal grafana image. Is this grafana-dev image supposed to be used for Grafana development, or does it serve some other purpose? Is there a good way to figure out which grafana-dev image to use based on which Grafana version we need to test against?