set to yum update first and removed debug flag since I identified the problem as being caused by CentOS 7 being the base image