Chaining FROM in Dockerfile. Fixes #2740

Sorry for slowness)
@shykes