Sync and install packages in same command.

This helps keep the docker cache from interfering with repeated builds.
Merge pull request #10 from nubs/master

Sync and install packages in same command.