docs/alpine-server-setup/post-install/repositories.md: add optional edge configuration
This commit is contained in:
parent
48ab49c9ee
commit
a8a68753c1
1 changed files with 12 additions and 6 deletions
|
@ -7,12 +7,18 @@ https://dl-cdn.alpinelinux.org/alpine/latest-stable/main
|
||||||
https://dl-cdn.alpinelinux.org/alpine/latest-stable/community
|
https://dl-cdn.alpinelinux.org/alpine/latest-stable/community
|
||||||
```
|
```
|
||||||
|
|
||||||
This will use the latest stable repository of Alpine (for example `v3.19`). To use a different version of Alpine simply change `latest-stable` to whatever version you want. Do note that you can not (easily) downgrade your system's version. There also is the `edge` repository which contains more packages but it is not recommended because it can result in faster breakage of your system.
|
This will use the latest stable repository of Alpine (for example `v3.19`). To use a different version of Alpine simply change `latest-stable` to whatever version you want. Do note that you can not (easily) downgrade your system's version. There also is the `edge` repository which contains the latest packages but it is not recommended because it can result in faster breakage of your system.
|
||||||
|
|
||||||
## apk-ample
|
If a package is not yet in a stable release one may configure in `/etc/apk/repositories`:
|
||||||
|
|
||||||
We also host our own repository which contains some packages not found in the stable repository but also our own packages like `linux-hardened`. If you want to add it to your system edit `/etc/apk/repositories` and add this line under the other repositories:
|
|
||||||
|
|
||||||
```
|
```
|
||||||
https://git.bijl.us/lnco/apk-ample/raw/branch/main/alpine/
|
@<repository> https://dl-cdn.alpinelinux.org/alpine/edge/<repository>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
for the relevant `<repository>` and perform:
|
||||||
|
|
||||||
|
```
|
||||||
|
# apk add <package>@<repository>
|
||||||
|
```
|
||||||
|
|
||||||
|
for the relevant `<package>`.
|
Loading…
Reference in a new issue