Reused the variant detection code from the test-build script
Reused the variant detection code from the test-build script

nodejs/docker-node,sirgallifrey/docker-node-test,joyent/docker-node,chorrell/docker-node,chorrell/docker-node,nodejs/docker-node,pesho/docker-node