Added command to update base image and merged command which cleans yum m...

...etadata

- Added a RUN command to update the base image

- Removed the additional RUN command for `yum clean all` as it will create
  additional layer in image which will just remove the yum metadata. Merged this
  command to install command, which will clean the yum metadata in layer where
  packages are installed.