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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user