Stop the build process on any encountered errors
A normal bash loop doesn't take into account the return status of each command run in the loop. If a build fails on anything we have to explicitly turn that into an exit 1 to exit the whole loop. The Docker build will stop on this.
Closes #124 (closed)