Changed timeout resource attribute to be cmd_timeout to prevent collisions
Added option to perform a docker build by passing the directory that contains the dockerfile