Improvements to the docker scripts

Made the scripts more customisable from jenkins and generates a MANIFEST file in the root directory of the docker container.