The local mirror covers Alpine Linux latest-stable (x86_64) including main and community repositories. Alpine is a lightweight, security-focused distribution commonly used as a container base image.
Replace /etc/apk/repositories with the local mirror:
curl -o /etc/apk/repositories https://mirror.nplab.bth.se/configs/alpine/repositories apk update
| Release | Arch | Local URL | Config File |
|---|---|---|---|
| latest-stable | x86_64 | https://mirror.nplab.bth.se/alpine/latest-stable/ | repositories |
Download and apply (run as root):
curl -o /etc/apk/repositories https://mirror.nplab.bth.se/configs/alpine/repositories apk update
/alpine/latest-stable/ main/x86_64/ ← core packages community/x86_64/ ← community packages
latest-stable tracks the current stable Alpine release automatically.apk add <pkg>, apk update, apk upgrade.