Added command for updating base image in multiple Dockerfiles

- Added command for updating base image in multiple Dockerfiles
- Merged the command which cleans yum metadata into install command