build ref now a pid globally, and random doubled for specific container (for parallel builds)