creating the docker image automatically from gradle