fix: build image libraries for baseline VPS CPUs
Some checks failed
Test and deploy / Verify production build (push) Failing after 15m48s

Replace the SIMD-dependent WebAssembly fallback with source-built libvips and Sharp. Pin the libvips archive checksum, use baseline x86-64 compiler flags, retain the native binding and runtime libraries, and check JPEG/PNG/WebP processing before compilation and in the runtime image.

Lint, type checking, and content/security tests passed. Full Docker verification was stopped at the user request; production build and baseline CPU runtime verification remain pending.
This commit is contained in:
2026-09-15 23:16:54 +03:30
parent 286c9903b8
commit 1f58461967
7 changed files with 254 additions and 58 deletions

View File

@@ -16,7 +16,6 @@
"maintenance": "tsx --env-file-if-exists=.env scripts/maintenance.ts"
},
"dependencies": {
"@img/sharp-wasm32": "0.35.4",
"better-auth": "^1.7.5",
"better-sqlite3": "^13.0.3",
"drizzle-orm": "^0.45.2",
@@ -41,6 +40,8 @@
"esbuild": "^0.28.2",
"eslint": "^9.39.5",
"eslint-config-next": "^16.3.4",
"node-addon-api": "8.9.2",
"node-gyp": "12.4.0",
"tsx": "^4.23.13",
"typescript": "^5.7.3"
},