Podman/Docker virtualization setup for caching Pacman packages in cold storage
You define a packages.txt
file with different packages that are of use.
base
base-devel
xfce4
xfce4-goodies
Defining these would auto-build base-devel
, xfce4
and a few other packages.
Podman compose building packages seems broken, so do it by hand. In this case,
we will bind to an archbyte store in /opt/raid/archbyte
.
$ podman build -v /opt/raid/archbyte:/srv/archbyte -t archbyte:latest .
$ podman run -it -v /opt/raid/archbyte:/srv/archbyte -p 8080:8080 archbyte:latest
Should be on port 8080.