Introduction
This guide will walk you through the process of uploading your APK packages to Gemfury, and then securely installing them. Before you get started, be sure you have the following:
This guide will walk you through the process of uploading your APK packages to Gemfury, and then securely installing them. Before you get started, be sure you have the following:
You can configure APK to use your Gemfury repository. To start, append
your repository URL to the /etc/apk/repositories
file. You may need
sudo
access to make these changes:
Append the following line to /etc/apk/repositories
:
https://alpine.fury.io/USERNAME/
Or run this “one-liner”:
$ echo "https://alpine.fury.io/USERNAME/" >> /etc/apk/repositories
Your repository is signed with an RSA key, which you will download to apk’s
/etc/apk/keys/
directory of trusted public keys. The key filename, which
varies based on the key ID, can be found via your Dashboard:
Once you’ve configured apk for your repository, download and update the indexes of packages by running the following command. Run this every time you add a new package:
$ apk update
Once this has succeeded, use apk add
to install your private packages:
$ apk add package-in-gemfury
Your package is now installed! Learn more about using apk.