forked from gh-mirrored/hallstatt
chore: clean up the repo even more
Signed-off-by: Tulip Blossom <tulilirockz@proton.me>
This commit is contained in:
@@ -1,16 +1,22 @@
|
||||
iso:
|
||||
image := env("IMAGE_FULL", "ghcr.io/tulilirockz/taxifolia:latest")
|
||||
|
||||
iso $image=image:
|
||||
#!/usr/bin/env bash
|
||||
mkdir -p output
|
||||
sudo podman pull ghcr.io/tulilirockz/fiskar:latest
|
||||
IMAGE_CONFIG="$(mktemp)"
|
||||
export IMAGE_FULL="${image}"
|
||||
envsubst < ./config.toml > "${IMAGE_CONFIG}"
|
||||
sudo podman pull "${image}"
|
||||
sudo podman run \
|
||||
--rm \
|
||||
-it \
|
||||
--privileged \
|
||||
--pull=newer \
|
||||
--security-opt label=type:unconfined_t \
|
||||
-v ./config.toml:/config.toml:ro \
|
||||
-v "${IMAGE_CONFIG}:/config.toml:ro" \
|
||||
-v ./output:/output \
|
||||
-v /var/lib/containers/storage:/var/lib/containers/storage \
|
||||
quay.io/centos-bootc/bootc-image-builder:latest \
|
||||
--type iso \
|
||||
--use-librepo=True \
|
||||
ghcr.io/tulilirockz/fiskar:latest
|
||||
"${image}"
|
||||
|
||||
Reference in New Issue
Block a user