Refactor Dockerfiles

* Remove all yum installs
* Use && for chaining
* Export version variables