basic version 1:1 from TheDockerbook example source. If you don't know it: I can honestly recommend this book.
Merge branch 'master' of github.com:gopalfreak/jenkins-docker