Updating bootstrap.sh for Docker 1.0.0

Also make it more compatible with other PATH environments.
Merge pull request #1 from jk/patch-1

Updating bootstrap.sh for Docker 1.0.0