Pretty much like we build the -debug image, we will need to create an additional image that installs:
- A python interpreter
- A clone of https://gerrit.wikimedia.org/g/operations/dumps in /srv/deployment/dumps
This image's version will follow the same rules as the rest of the mediawiki images and should be built by scap. I don't think it should add a lot of time to the overall time of the scap build.
The easiest way to have the git repo in the image, instead of installing git, is to have a checkout on the deployment hosts and rsync it over like we do for the MediaWiki code.