fix: force IPv4 for npm — cluster has no IPv6 egress

Root cause: DNS returns IPv6 (AAAA) records for registry.npmjs.org
first. Alpine musl tries IPv6, which hangs because the cluster has
no IPv6 routing. NODE_OPTIONS=--dns-result-order=ipv4first forces
Node/npm to use IPv4 addresses.
This commit is contained in:
Celes Renata
2026-07-13 06:41:46 +00:00
parent 2d516a725d
commit 2fff553518
+1 -1
View File
@@ -192,7 +192,7 @@ steps:
npm-install-dashboard:
image: registry.celestium.life/dockerhub-cache/library/node:24-alpine
commands:
- cd frontend && npm ci
- cd frontend && NODE_OPTIONS="--dns-result-order=ipv4first" npm ci
backend_options:
kubernetes:
resources: