mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-17 18:37:19 +02:00
build.json named the multi-arch collabora/code:latest for both architectures. The builder never passes --platform -- it runs each architecture on its own native runner -- so BUILD_FROM is the only thing selecting which binaries end up in the add-on. That resolves correctly today only because the runner architecture happens to match the target. Name collabora/code:latest-amd64 and collabora/code:latest-arm64, which are published in lockstep with latest. The official image sets file capabilities on two binaries, and COPY --from does not carry extended attributes, so they arrived stripped: coolforkit-caps cap_chown,cap_fowner,cap_sys_chroot=ep coolmount cap_sys_admin=ep Without them coolwsd starts and serves the admin console, but cannot chroot a kit process, so no document ever opens. Reapply and verify them. Replace the smoke test, which is why the build is currently red: coolwsd refuses to run as root (exit 78), and --version does not exit anyway, since the official entrypoint passes it to the long-running server. Check instead that every binary resolves its libraries against the Debian base. For ssl: true, hand Collabora the certificate copies in /etc/coolwsd rather than /ssl. coolwsd runs as uid 1001 and a private key in /ssl is commonly root-only, so it could not be read; the copies were already being made and chowned, but nothing pointed at them. Co-Authored-By: Claude <noreply@anthropic.com>
7 lines
115 B
JSON
7 lines
115 B
JSON
{
|
|
"build_from": {
|
|
"aarch64": "collabora/code:latest-arm64",
|
|
"amd64": "collabora/code:latest-amd64"
|
|
}
|
|
}
|