feat: Add better tooling and CI
- Improve the build of the image by introducing `build.sh`. It can be used with `podman` or `buildah` and also provides a way of building a `dev` or `prod` image for development purposes by `build.sh [dev|prod]`. - CI runs this script as well with `buildah`. Signed-off-by: Gabriel Nützi <gnuetzi@gmail.com>
This commit is contained in:
committed by
Chris Evich
parent
fe7deb1b10
commit
6dd52a3783
@@ -214,6 +214,9 @@ version of the gitlab runner.
|
||||
|
||||
Several build arguments are available to control the output image:
|
||||
|
||||
- `BUILD_TYPE`: The build type, either `prod` or `dev`. In `dev` mode, the package
|
||||
manager is not deleted for development and debugging purposes. Please see
|
||||
[`build.sh`](scripts/build.sh) for more details.
|
||||
- `PRUNE_INTERVAL`: A systemd.timer compatible `OnCalendar` value that
|
||||
determines how often to prune Podman's storage of disused containers and
|
||||
images. Defaults to `daily`, but should be adjusted based on desired
|
||||
|
||||
Reference in New Issue
Block a user