do you have a build script committed anywhere we could look at?
it _sounds_ except, why not build spark/mahout in the docker container as part of the build process. (I think this comment is a bit of a snipe, and also I'm not docker expert so feel free to disregard if this comment makes no sense).