alpinelinux / alpine-make-vm-image

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

Auto-retrieve `/etc/apk/keys` and `/etc/apk/packages` #3

Closed johnp closed 6 years ago

johnp commented 6 years ago

On a non-alpine machine these do not exist and the requirements as mentioned in the README and project docs are misleading in that they only do not mention this requirement.

Keys could be retrieved from https://alpinelinux.org/keys/, though not all of them are in /etc/apk/keys.

For repositories it would be good to have a fallback (http://dl-cdn.alpinelinux.org/alpine/latest-stable/main ?) or use the setup-apkrepos script somehow.