Overview of zbpack
mainWhat is zbpack?
zbpack (pronounced “Zeabur Pack”) is a tool designed to automatically analyze source code to determine the language, version, and framework used. It then packages the service into the most suitable deployment form, such as static resources, cloud functions, or containers.
It is primarily used as the build tool on the Zeabur platform to automatically determine code types and build container images without requiring manual Dockerfiles.
Core Components
- Planners: Located in the
internaldirectory, these are responsible for analyzing source code and determining the code type. zeaburpacklibrary: Located inpkg/zeaburpack, this library can be integrated directly into your own platform.- CLI: Located in
cmd/zbpack, this is the command-line interface used for testing and manual builds.