aido-onyx/branding
NaeemDosh bbfbad2ca7 Fix upstream build: swap Docker Hardened Images (dhi.io) for public node bases
Onyx's web Dockerfile now bases on Docker Hardened Images (dhi.io/node:24-debian13*),
which require a paid DHI subscription + `docker login dhi.io` — so `make build` fails
with a registry-login error for anyone without DHI access.

The apply overlay now rewrites those two FROM lines to the equivalent PUBLIC Docker
Hub node images (24-trixie / 24-trixie-slim, Debian 13 / glibc to match the DHI variant
the Dockerfile targets) and sets the runtime to the non-root `node` user, matching
upstream's posture — no docker login needed.

- branding.config.json: new build.baseImageReplacements map (config-driven)
- apply-branding.mjs: step 1b swaps DHI FROM lines (digest-stripped) + adds USER node;
  idempotent, no-op with a warning if the DHI bases are absent (safe across upstream changes)
- README: upgrade note #3 documenting the swap

Verified end-to-end: full web image builds on the public bases (no login), serves 200,
and runs correctly as the non-root node user.
2026-07-04 02:40:05 +05:00
..
assets AIDO white-label overlay for Onyx Community Edition 2026-06-27 08:06:58 +05:00
templates Fix remaining branding leaks: error-page logo/links + notification bell 2026-06-29 22:57:50 +05:00
apply-branding.mjs Fix upstream build: swap Docker Hardened Images (dhi.io) for public node bases 2026-07-04 02:40:05 +05:00
branding.config.json Fix upstream build: swap Docker Hardened Images (dhi.io) for public node bases 2026-07-04 02:40:05 +05:00