~alpine/users

2 2

alpine virt and standard not installing due to no network access to mirrors ...

Details
Message ID
<20230328102217.Horde.dbsxt3ToTvSRhm8zKMazhQ1@webmail.xmission.com>
DKIM signature
missing
Download raw message
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
Details
Message ID
<20230328223114.14512f7e@blueselene.com>
In-Reply-To
<20230328102217.Horde.dbsxt3ToTvSRhm8zKMazhQ1@webmail.xmission.com> (view parent)
DKIM signature
missing
Download raw message
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
Details
Message ID
<CRIB1ZQOPG5A.2JR8CWF4NUVNS@sumire>
In-Reply-To
<20230328223114.14512f7e@blueselene.com> (view parent)
DKIM signature
missing
Download raw message
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.
>
Reply to thread Export thread (mbox)