====== Alpine Linux — Mirror Configuration ======
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.
===== APK Repository Configuration =====
Replace ''/etc/apk/repositories'' with the local mirror:
curl -o /etc/apk/repositories https://mirror.nplab.bth.se/configs/alpine/repositories
apk update
===== Release Reference =====
^ Release ^ Arch ^ Local URL ^ Config File ^
| latest-stable | x86_64 | ''https://mirror.nplab.bth.se/alpine/latest-stable/'' | [[https://mirror.nplab.bth.se/configs/alpine/repositories|repositories]] |
**Download and apply (run as root):**
curl -o /etc/apk/repositories https://mirror.nplab.bth.se/configs/alpine/repositories
apk update
===== Mirror Structure =====
/alpine/latest-stable/
main/x86_64/ ← core packages
community/x86_64/ ← community packages
===== Notes =====
* ''latest-stable'' tracks the current stable Alpine release automatically.
* Alpine uses APK, not apt/dnf — package manager commands differ from Debian/Ubuntu/RHEL.
* Common commands: ''apk add '', ''apk update'', ''apk upgrade''.