# How to Use China Network Mirror Localization Features in LabNow AI Docker Builds

> Learn to use China network mirror localization in LabNow AI Docker builds. Set PROFILE_LOCALIZE to speed up downloads and streamline your builds instantly.

- Repository: [LabNow.ai/lab-foundation](https://github.com/labnow-ai/lab-foundation)
- Tags: how-to-guide
- Published: 2026-03-05

---

**Set the `PROFILE_LOCALIZE` environment variable to switch package managers to Chinese mirrors instantly during Docker build or runtime.**

The `labnow-ai/lab-foundation` repository provides a built-in localization layer that automatically rewrites package manager sources for environments inside China’s network. By leveraging the China network mirror localization features in LabNow AI Docker builds, you eliminate slow or blocked connections to public Ubuntu, PyPI, npm, Go, and CRAN repositories. This system uses modular shell scripts that activate based on a single environment variable, making it ideal for both CI/CD pipelines and local