-
Notifications
You must be signed in to change notification settings - Fork 0
Update alpine mirror
Tristan Israël edited this page Feb 2, 2026
·
3 revisions
This page explains how to maintain a local Safecor and Alpine repository.
You must have a correctly set and secured web server and the ability to run shell script on it.
- On the web server, create the following directories:
<web root>/alpine
<web root>/safecor
- In a working directory different from the web root, download the scripts located at setup/scripts
- Enter the working directory
- Run the script
$ ./sync_alpine_repository.sh <web root>/alpine
After the download is finished, the local repository path will contain a mirror of the official Alpine repository for the architecture and the version chosen.
- Enter the working directory
- Run the script
$ ./sync_safecor_repository.sh <web root>/safecor
After the download is finished, the local repository path will contain a mirror of the official Alpine repository for the architecture and the version chosen.
After the pakcages have been downloaded you might need to set the correct permissions and user:group on the files.