Improvements to the docker template
- use templates
- remove global image/services
- check variable definition
Nothing breaking, but prevents errors if essential variables are undefined: the job just doesn't get pipelined thanks to the only:variables combo. Also factorizaton and less global parameters, so that including doesn't change too many things in the main .gitlab-ci.yml
.