adding dockerfile, versions file and build script

- installing java as its required by lein
- setting LEIN_ROOT env variable to suppress warnings when running lein as root