Make the dockerfile build incrementally.