LukeShortCloud / winesapOS

winesapOS - Game with Linux anywhere, no installation required!
GNU General Public License v3.0
888 stars 30 forks source link

[registry] Upload container images to Quay.io #872

Open LukeShortCloud opened 1 month ago

LukeShortCloud commented 1 month ago

The root file system of each least our minimal image type, and at most our performance image, should be uploaded to Quay.io. This will eventually help our with CI testing. It will also be needed if we go with bootc as our read-only file system tool.

Related: https://github.com/LukeShortCloud/winesapOS/issues/871

LukeShortCloud commented 1 month ago

An example of using our rootfs to create a container image:

FROM scratch
ADD rootfs.tar.xz /
CMD ["bash"]

https://github.com/debuerreotype/docker-debian-artifacts/blob/8d227a7d1f698c702d82e7de764ed0a7df65fb7c/bookworm/Dockerfile

Some container registries have issues when a layer is more than 10 GiB. I was thinking that each folder in / could be ADDed to the scratch Containerfile to workaround this. We should probably turn this into a script to automate the entire process.