8000 GitHub - wongmjane/aports: Personal Alpine package overlay · GitHub
[go: up one dir, main page]

Skip to content
wongmjanePublic

About

Personal Alpine package overlay

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

aports

Personal Alpine package overlay.

Install

doas wget -O /etc/apk/keys/jmw-19f0281f.rsa.pub \
  https://wongmjane.github.io/aports/jmw-19f0281f.rsa.pub

echo 'https://wongmjane.github.io/aports' | doas tee -a /etc/apk/repositories
doas apk update

Then doas apk add <pkgname>. Available packages are the directories at the repo root.

Build locally

Inside any aarch64 Alpine environment with /work set to the repo root:

sh scripts/build.sh

For non-aarch64 hosts, run it through any OCI runtime that can launch an aarch64 Alpine container — e.g. Apple container, Docker, Podman, Colima, Lima — or a full VM via QEMU / UTM. Example with Apple container:

container run --rm --arch arm64 --cpus 8 --memory 8g \
  -v "$PWD":/work -w /work \
  alpine:edge sh /work/scripts/build.sh

Output: out/aarch64/. Uses an ephemeral signing key when ABUILD_KEY is unset.

CI

.github/workflows/build.yml builds in alpine:edge on a native aarch64 runner and publishes to gh-pages.

Required secret: ABUILD_KEY — contents of the abuild private RSA key. The matching public key is committed at the repo root.

Add a package

mkdir <pkgname>
# write <pkgname>/APKBUILD
git commit -am "add <pkgname>" && git push

About

Personal Alpine package overlay

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages

0