alpine-make-vm-image icon indicating copy to clipboard operation
alpine-make-vm-image copied to clipboard

make apk cache work with chroot

Open hpresnall opened this issue 1 year ago • 0 comments

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.

hpresnall avatar Feb 28 '23 23:02 hpresnall