buildmaster: add static apk utility ynezz/add-static-apk
authorPetr Štetiar <ynezz@true.cz>
Tue, 24 Sep 2024 20:00:59 +0000 (20:00 +0000)
committerPetr Štetiar <ynezz@true.cz>
Wed, 25 Sep 2024 19:45:02 +0000 (19:45 +0000)
commit47b8824df7cd0d0ca9da10289b28a65837365ede
tree1fca49d8b93180f78ee5ab3135f4eeda9faca1b9
parentf1a1a6264422bdfe42e1aae1ad33d866a5b51955
buildmaster: add static apk utility

We need a relatively recent `apk` that can sign package indexes. You can
find more details in the referenced issue below. However, it has not
been released yet and is not available as a prebuilt download.
Therefore, until it becomes available, let's build a static version and
use that in the meantime.

Fixes: a94d4e15fdc1 ("add APK signing logic")
References: https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/11008
Signed-off-by: Petr Štetiar <ynezz@true.cz>
docker/buildmaster/Dockerfile
tests/cram/master/02-apk.t [new file with mode: 0644]