Walker Buehler allowed just two hits and no runs over seven innings as his Los Angeles Dodgers cruised to a 5-2 win over the Pittsburgh Pirates.