alpinelinux / alpine-make-vm-image

Make customized Alpine Linux disk image for virtual machines
MIT License
299 stars 98 forks source link

make apk cache work with chroot #34

Open hpresnall opened 1 year ago

hpresnall commented 1 year ago

If /etc/apk/cache exists, bind mount it to the same path in the vm. Remove the symlink after the script is run in chroot.

Confirmed package installs during chrooted setup and apk update was not needed.