{section: Building Exactly the Way We Do on Our Build Farm} 1:Select an appropriate build container: examine /nmi_tools/nmi-build-platforms and choose a Docker image. The source (Dockerfiles) for containers appropriate to build HTCondor on many different distros is available in directory {link: https://htcondor-wiki.cs.wisc.edu/index.cgi/dir?d=build/nmi-build /build/nmi-build/} 1:Start the Docker container: =docker run -it htcondor/nmi-zdev:x86_64_CentOS7-09010300= 1:Switch from root to a user account (condorauto): =su - condorauto= 1:Fetch the sources: =git clone= https://github.com/htcondor/htcondor.git 1:Select the number concurrent compilations (Default 1): =export OMP_NUM_THREADS=4= 1:Create a work directory: =mkdir work; cd work= 1:Build the packages: =../htcondor/build-on-linux.sh ../htcondor= 1:extract the tarballs: =../htcondor/nmi_tools/glue/build/make-tarball-from-rpms .=