Update dockerfile to be slightly more modular. Add documentation on setting ulimits on CentOS/RedHat