Home / Alpine

Alpine Linux Mirror Guide in Iran

Alpine is musl/apk-based and small. Planned path: /alpine.

About Alpine

Alpine shows up in Docker images and small appliances; apk is fast but needs a reachable mirror.

main and community branches per release are pulled constantly in CI.

Alpine mirror in Iran

A local mirror keeps apk off the international path and steadies container builds inside Iran.

The switch guide will appear here once the mirror is ready.

On Rasanegaar Mirror

StatusComing soon
Size
Last update
URLhttps://mirror.rasanegaar.com/alpine/

This repository will be hosted on Rasanegaar Mirror soon. The target URL is reserved.

Browse repository (not live yet)

How to use the Alpine mirror in Iran

This section will be completed once the mirror is live.

Manual steps

  1. Point apk repositories at the Rasanegaar Alpine mirror:

    /etc/apk/repositories

    https://mirror.rasanegaar.com/alpine/

  2. Refresh the package index:

    sudo apk update

Switch with script

curl -fsSL https://mirror.rasanegaar.com/scripts/switch-alpine.sh | sudo bash

Updating Alpine in Iran

When dl-cdn or official mirrors are slow from Iran, apk upgrade against the local mirror is the better default.

Keep the branch (e.g. v3.xx) aligned with the installed release.

Revert to official repository

If you need official upstream again:

curl -fsSL https://mirror.rasanegaar.com/scripts/revert-alpine.sh | sudo bash

Related links