Sync and install packages in same command.

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

Sync and install packages in same command.