Notice that since these are in a public repository you should not expose any details of the CMS infrastructure and have everything configurable via an environment variable. Actual values of the environment variables are maintained somewhere else.
In order to automatically build and deploy images to our Docker Hub, create a sub-directory which should contain ( e.g. see https://github.com/cms-sw/cms-docker/tree/master/slc6 )