Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aorith/deb-docker-builder
Build simple debian binary packages with docker
https://github.com/aorith/deb-docker-builder
Last synced: 1 day ago
JSON representation
Build simple debian binary packages with docker
- Host: GitHub
- URL: https://github.com/aorith/deb-docker-builder
- Owner: aorith
- Created: 2022-07-10T16:00:18.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-07-30T18:14:00.000Z (over 2 years ago)
- Last Synced: 2024-11-03T15:41:49.453Z (12 days ago)
- Language: Shell
- Size: 14.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
> Generate simple debian binary packages.
* [new-recipe.sh](new-recipe.sh) creates the skeleton of a new recipe to build a package.
* [build.sh](build.sh) builds a package from one of the existing recipes.When building a package the contents of `recipes//` will be available inside of the container in two directories:
- `/recipe-ro` a read-only bind mount
- `/recipe` a copy of the contents, *scripts* should do its work hereAll the *scripts* or binaries with execution permissions found at `/recipe/build/scripts` (which would be `recipes///build/scripts` outside of the container) will be executed in order.
When those *scripts* finish the contents of `/recipe/package` will be built into a `.deb` file and saved to the `output/` directory outside of the container.The `DEBIAN/control` file should include:
```
Package:
Version:
Architecture:
Maintainer:
Depends: (optional but recommended)
Section:
Priority: optional
Description:
```Check [recipes/hello-world/bullseye](./recipes/hello-world/bullseye) for an example.