{"repo":"zeabur/zbpack","free":true,"listed":false,"github":"https://github.com/zeabur/zbpack","clone":"git clone https://github.com/zeabur/zbpack.git","description":"Build your project into static assets, serverless function or container image with magic, no Dockerfile needed!","language":"Go","stars":326,"topics":["build-tool","buildpack","docker","go","golang","zeabur"],"license":"MPL-2.0","category":"deployment-docker-iac","readme_excerpt":"zbpack zbpack (pronounced “Zeabur Pack”) aims to automatically analyze the language, version, and framework used based on the source code and package the service into the most suitable deployment form, such as static resources, cloud functions, containers, or multiple types by one click. It is mainly used in the Zeabur platform as the build tool to determine the code type and build the container image automatically (without writing the Dockerfile manually.) Components zbpack is consist of the following components: - Planners: The planners are responsible for analyzing the source code and determining the type of the code. The planners are located in the internal directory. - zeaburpack library: The zeaburpack library is the library of zbpack that can be used in your platform directly. It is located in the pkg/zeaburpack directory. - CLI: The CLI is the command-line interface of zbpack for testing purpose. It is located in the cmd/zbpack directory. Usage Common Part 1. Fork the repository and clone it to your local machine. 2. Make sure you have Go installed on your machine. You can download it from the official website: 3. Navigate to the root of the project and run go mod download to download the necessary dependencies. 4. Make sure buildctl is installed and buildkitd is running. zbpack zbpack analyzes your projects, constructs the image recipes, and builds the container image automatically. 1. Build the binary by running go build -o zbpack ./cmd/zbpack/main.go . 2. Run the b","default_branch":null,"files":null,"tree":[],"storefront":"/r/zeabur","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zeabur/zbpack/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}