Disclaimer----You build this at your own risk----
You can take a section of heavy wall PVC pipe, use the PVC primer and glue to attach end caps. If available get caps with threaded fittings and adapt to air hose fittings. You can get a regulator with gauge at Harbor Freight. If not running a water trap, you can get the disposables at HF as well for a couple of bucks each. Tailor the length of pipe to your space, but I would go at least 18 inches.
EDIT******* this is only suitable for AB compressors that generate around 50 psi. DO NOT use on standard compressors that generate upwards of 100 PSI
I went with the 3 gallon oiless compressor from HF which I picked up for 40.00 on a coupon, then attached a water trap and regulator/gauge.