Fix processor count detection with HW_NCPU
Add dockerfile
Merge pull request #45 from creack/master

Add dockerfile
Merge pull request #1 from pooler/master

upstream