Update CONFIG_CHECK from "contrib/check-config.sh" in Docker's repo with the goal to upstream any potential additions

Fixes #21
Fixes #22