Fail on whitespace at end of lines

This will prevent the whitespace from propagating into the docs links to the dockerfiles.