You've already forked fedora-atomic-iso
mirror of
https://github.com/t2linux/fedora-atomic-iso.git
synced 2026-04-30 13:53:34 -07:00
22 lines
613 B
Bash
Executable File
22 lines
613 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
IMAGE="ghcr.io/t2linux/fedora-silverblue:43"
|
|
INSTALLER_IMAGE="ghcr.io/t2linux/fedora-silverblue-installer:43"
|
|
|
|
mkdir -p build
|
|
|
|
sudo podman run --rm -it --privileged \
|
|
--platform linux/amd64 \
|
|
--privileged \
|
|
--security-opt label=type:unconfined_t \
|
|
-v /var/lib/containers/storage:/var/lib/containers/storage \
|
|
-v "$PWD/build":/output \
|
|
ghcr.io/osbuild/image-builder-cli build \
|
|
bootc-installer \
|
|
--bootc-default-fs btrfs \
|
|
--bootc-ref "$INSTALLER_IMAGE" \
|
|
--bootc-installer-payload-ref "$IMAGE"
|
|
|
|
mv build/*-installer-x86_64/*.iso build/fedora-silverblue.iso
|