Files
alpine-packages/packaging/alpine/blueprint
Joachim Schlöffel 0f311d47fe
Build Alpine Packages / build-and-publish (v3.24, 3.24) (pull_request) Failing after 30m42s
Add LavinMQ Alpine package
2026-07-08 14:13:19 +02:00
..
2026-07-08 14:13:19 +02:00
2026-06-08 23:43:29 +02:00
2026-07-06 09:37:18 +02:00

Alpine Package Blueprint

Copy this directory to packaging/alpine/local/<pkgname>/ and replace the placeholder values before building.

Required:

  • APKBUILD

Optional package-local hooks:

  • scripts/test-install.sh validates README-style installation instructions.
  • scripts/update-generated-sources.sh refreshes generated files that are listed in source=.
  • scripts/runtime-test.sh validates an installed package in the shared Docker runtime test.

Repo-level tasks discover packages from packaging/alpine/local/*/APKBUILD. Limit a task to one or more packages with:

ALPINE_PACKAGE=<pkgname> mise run apk:build
ALPINE_PACKAGES="<pkg-a> <pkg-b>" mise run apk:build-all
ALPINE_PACKAGE=<pkgname> mise run apk:test-install
ALPINE_PACKAGE=<pkgname> mise run apk:runtime-test

For compiled software, put normal Alpine build logic in build(), check(), and package() and declare build tools in makedepends.