Reorganise Dockerfile

We'll need the top stuff for the other implementations e.g. Groovy.