[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-25。"],[[["\u003cp\u003eThe Buildpacks generic builder creates container images for deployment on various Google Cloud services, such as Google Kubernetes Engine, Cloud Run, and App Engine.\u003c/p\u003e\n"],["\u003cp\u003eThis generic builder automatically detects the source code's language, determines if it's an application or function, and then builds it into a deployable container image.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003elatest\u003c/code\u003e tag for the generic builder defaults to the \u003ccode\u003egoogle-22\u003c/code\u003e version, which runs on Ubuntu 22, but you can use specific versions like \u003ccode\u003ev1\u003c/code\u003e or \u003ccode\u003egoogle-22\u003c/code\u003e to pin to a particular operating system and set of supported languages.\u003c/p\u003e\n"],["\u003cp\u003eApp Engine builders provide optimized containerization for App Engine second-generation runtimes, featuring additional buildpacks, configurations, and language version support based on Ubuntu 18 and Ubuntu 22.\u003c/p\u003e\n"],["\u003cp\u003eThe generic builder supports a variety of languages including Python, Node.js, Java, Go, Ruby, PHP, and .NET Core, with different supported versions depending on if using \u003ccode\u003ebuilder:google-22\u003c/code\u003e or \u003ccode\u003ebuilder:v1\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Builders\n\nGeneric Builder\n---------------\n\nBuildpacks has a default generic builder that creates container\nimages designed to run on Google Cloud services, including but not limited to:\nGoogle Kubernetes Engine, GKE Enterprise, Cloud Run, App Engine, and\nCloud Run functions.\n\nThe buildpacks generic builder:\n\n1. Automatically detects the language of your source code. The buildpacks generic builder scans common project configuration files to determine the specific language version. For example, if the builder detects the source code as Node.js, it then inspects the `engines` field in the `package.json` file to determine a specific version of Node.js. If the builder can't determine a specific version, it uses the latest available version.\n2. Determines if that source code is an application (service) or function.\n3. Builds your source code into a deployable container image.\n\nThe generic builder itself is a container image that's publicly hosted on\nContainer Registry.\n\n### Default builder\n\nTo always use the most recent version and operating system, you can specify the\n`latest` tag. The `latest` tag defaults to the `google-22` version of the\ngeneric builder and is used when you run the `gcloud run deploy` command.\nIf you need to pin to a version, see the instructions about how to\n[Use a specific builder](/docs/buildpacks/use-a-specific-builder).\n\n### `builder:google-22` supported languages\n\n### `builder:v1` supported languages\n\nApp Engine builder\n------------------\n\nBuildpacks also publish the builders that are used to\ncontainerize applications for the App Engine\n[second-generation runtimes](/appengine/docs/standard/runtimes).\n\nThe App Engine builders include additional buildpacks and\nApp Engine-specific configurations. For example, they are optimized for\nexecution speed and automatic updates. Builders are by runtime language and\noperating system:\n\nWhat's next\n-----------\n\n- [Use a specific builder](/docs/buildpacks/use-a-specific-builder)\n- [Build an application](/docs/buildpacks/build-application)\n- [Build a function](/docs/buildpacks/build-function)"]]