Use Alpine Linux setup sub-scripts for network/DNS
setup-keymap# To make sure you can successfully do keyboard input
ifup eth0# Or the appropriate interface for your system.
setup-dns(if not using DHCP).
Use Alpine Linux setup sub-script get setup network time
setup-ntp# If you don’t setup NTP the time may be differ too much from internet hosts, resulting in failure attempting to use HTTPS, below.
Use Alpine Linux setup sub-script to enable package repos
You can use this as many times as you wish. Each time will append the repository you select in
/etc/apk/respositories. This allows you to have multiple mirrors in your configuration, in case the default one is giving you trouble.
You are now ready to install the needed packages.