use chunkah for final image

This commit is contained in:
Julian Wefers
2026-06-27 22:27:31 +02:00
parent 4165798a02
commit 4b3cd2c1d4
3 changed files with 19 additions and 3 deletions
+4 -1
View File
@@ -2,12 +2,15 @@ REPO="gitea.wefers.page/julian/backup-server"
TAG="latest"
build() {
# ABSOLUTELY DO NOT USE --squash, as ostree NEEDS the layers
# --no-cache \
sudo buildah build \
-t ${REPO}:${TAG} \
--build-arg CHUNKAH_CONFIG_STR="$(sudo podman inspect "quay.io/fedora/fedora-bootc:44")" \
--pull \
--layers \
--format oci \
--skip-unused-stages=false \
-v $(pwd):/run/src --security-opt=label=disable \
--network=host \
.