Sync and install packages in same command.

This fixes a docker cache issue that can creep up.