Added requirement needed to build our documentation to dockerdev

Refactored rundocker a bit to combined duplicate code.