Skip to content

Alpine (apk)

Point apk at the Package Firewall, which serves APKINDEX unchanged and gates .apk downloads.

Updated 03 Nov 2026Markdown
Repository URL https://packages.vulnes.is/alpine/<branch>/<repo>
Ecosystem ID alpine
Plan Add-on
Mode gate: APKINDEX.tar.gz is streamed unchanged; <name>-<version>-r<n>.apk is checked
Cooldown no
Default mirror https://dl-cdn.alpinelinux.org
Automatic setup none, needs root. vulnetix package-firewall alpine exists but exits with “automatic configuration is not implemented yet”; configure the repository below by hand.

Configuration

Replace /etc/apk/repositories with the firewall URLs. Match the branch to your image (v3.22, edge, …):

https://YOUR_ORG_UUID:YOUR_API_KEY@packages.vulnes.is/alpine/v3.22/main
https://YOUR_ORG_UUID:YOUR_API_KEY@packages.vulnes.is/alpine/v3.22/community

In a Dockerfile, pass the credentials as a build secret rather than baking them into a layer:

RUN --mount=type=secret,id=apkrepos,target=/etc/apk/repositories \
    apk add --no-cache curl
docker build --secret id=apkrepos,src=./vulnetix-apk-repositories .

Use and verify

apk update
apk add curl

The RSA-signed APKINDEX is never rewritten, so signing keys keep working.

esc
↑ ↓ move↵ openSearches in your browser. A key like autonomy.max or a code like threshold_required jumps straight to it.