On Tue, 28 Mar 2023 10:22:17 -0600
orafin@xmission.com wrote:
>
> I'm trying to install alpine 3.16 virt and standard to a
> vm/container. My network setup does not allow me access to the
> internet mirror list for apks.
> Is there a FAQ that describes how to configure and alpine install to
> use some type of local apk repository (direcory or file)?
>
> TIA
>
Alpine uses wget to download packages, so you can just add the address
of the folder of your apk repository.
Assuming your repository is at /srv/apk, just add:
/srv/apk
to your /etc/apk/repositories file, and everything should work.
--
Current PGP KeyID: 11ADE4393600C1BDFFCBC0A598DE15942B08CA00
https://blueselene.com/pgp-archive/11ADE4393600C1BDFFCBC0A598DE15942B08CA00/key.pub
Key also available through Web Key Directory.
For up-to-date information on my crypto keys see
https://blueselene.com/crypto.html
On Tue Mar 28, 2023 at 10:31 PM CEST, Alex wrote:
> Alpine uses wget to download packages, so you can just add the address
> of the folder of your apk repository.
apk does not use wget, it uses a handwritten http fetch client.
(the same idea works however)
funnily though, mkinitfs does use wget for url apkovl= params
>
> Assuming your repository is at /srv/apk, just add:
>
> /srv/apk
>
> to your /etc/apk/repositories file, and everything should work.
>