Building Apache HTTPD 2.4.20 RPM for CentOS5/RHEL5 Clone this repo and run the following command docker run -it --rm -v $PWD/rpms:/usr/src/redhat/RPMS:Z apache-builder Apache 2.4.20 RPM's will be available under ./rpms directory.