Remove entrypoint from dockerfile
Add sanity check to linux build script
Add sanity check to OS X build script