Text this: Perturbative quantum chromodynamics in a cavity