Compare commits

..

2 Commits

Author SHA1 Message Date
2b7d340264 fix(ci): use node:24-slim (glibc) instead of Alpine (musl)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
Native modules like @matrix-org/matrix-sdk-crypto-nodejs detect the
libc type at install time and download the appropriate binary.

Previously, CI used node:24-alpine (musl), so native modules downloaded
musl binaries. But production runs on Debian (glibc), causing runtime
crashes when the glibc binary is expected but not found.

This fix:
- Changes CI to node:24-slim (Debian/glibc)
- Adds python3/make/g++ for native module compilation

Fixes: matrix-sdk-crypto-nodejs-linux-x64-gnu MODULE_NOT_FOUND
2026-03-01 19:40:09 -06:00
51d46b2e4a fix(ci): copy .npmrc before pnpm install in all Dockerfiles (#654)
Some checks failed
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/manual/base-image Pipeline was successful
ci/woodpecker/manual/infra Pipeline was successful
ci/woodpecker/manual/coordinator Pipeline was successful
ci/woodpecker/manual/ci Pipeline failed
Co-authored-by: Jason Woltje <jason@diversecanvas.com>
Co-committed-by: Jason Woltje <jason@diversecanvas.com>
2026-03-02 01:09:22 +00:00

View File

@@ -29,9 +29,10 @@ when:
- ".trivyignore"
variables:
- &node_image "node:24-alpine"
- &node_image "node:24-slim"
- &install_deps |
corepack enable
apt-get update && apt-get install -y --no-install-recommends python3 make g++
pnpm config set store-dir /root/.local/share/pnpm/store
pnpm install --frozen-lockfile
- &use_deps |