re-ordered the removal of buildDeps into the same command chain as the build to optimise Docker caching