It requires around 3x the disk space as the image is stored in multiple places during the process
It requires around 3x the disk space as the image is stored in multiple places during the process
ostree-unverified-image:oci:/var/run/image/etc/zerolayer (Containerfile, etc - basically your image's git repo)act_runner working on podman on silverblue with selinux... where it can do all the stuff i need... the tricks were simply setting a symlink for /var/run/docker.sock -> /run/podman/podman.sock and setting label=false in my containers.confcat /usr/local/bin/zerolayer
#!/usr/bin/env python3
from subprocess import run
def main():
img_dir = "/var/run/image"
# Preemptive cleanup to avoid build errors
cleanup_cmd = ["rm", "-rf", img_dir]
run(cleanup_cmd)
podman_build = [
"buildah",
"bud",
"-t",
"oci:/var/run/image",
"/etc/zerolayer"
]
run(podman_build)
# Post build cleanup
run(cleanup_cmd)
if __name__ == "__main__":
main()ostree-unverified-image:oci:/var/run/image/etc/zerolayeract_runner