mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-07-26 11:49:16 +00:00
381701ee258727b24031c09695c11bdf2cc7c854
* fix(docker): fix xx cross-compilation sysroot for node-pty and C++ modules Three issues in the prod-deps cross-compilation stage: 1. xx-apk had `gcc` (C only) instead of `g++` — all three native modules (bcrypt, better-sqlite3, node-pty) use C++, so libstdc++ headers must be present in the target sysroot for xx-clang++ to link against them. 2. Missing `linux-headers` in the target sysroot — node-pty requires <pty.h> and <termios.h> which live in the Linux kernel headers package. 3. Missing AR=xx-ar — node-gyp uses `ar` to create static archives during the native build; without this override it falls back to the host ar (amd64), producing wrong-arch .a files that fail at the link step. * fix(docker): use native g++ for same-platform builds, xx-clang only for cross xx-clang introduces sysroot flags that break node-gyp header resolution on Alpine when TARGETARCH == BUILDARCH (e.g. the docker-validate CI job which builds amd64-only). The native path now uses the standard g++ toolchain (identical to what worked before the xx refactor). The cross-compilation path (amd64 → arm64) continues to use xx-clang / xx-clang++ / xx-ar with the target sysroot populated via xx-apk.
Description
Self-hosted Docker Compose management platform. Great for homelabs, small DevOps teams, and platform engineers.
docker-composedocker-deploymentdocker-stackdocker-stack-deploydocker-uiself-hostedselfhostedwebsocket
AGPL-3.0
177 MiB
Languages
TypeScript
99.2%
JavaScript
0.4%
CSS
0.3%
Dockerfile
0.1%