Tidy Dockerfile and yum cache of image

[ID-433]