User:Mattx86/qwn:Enabling APK Caching

From Alpine Linux
Jump to: navigation, search

To enable the caching of downloaded APKs, do the following steps.

Create the cache directory and symlink:

mkdir -p /var/cache/apk ln -s /var/cache/apk /etc/apk/cache

Next, update apk in order to initialize the cache:

apk update