From 2fff5535184123ff3925527b412cab7ef0606e68 Mon Sep 17 00:00:00 2001 From: Celes Renata Date: Mon, 13 Jul 2026 06:41:46 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20force=20IPv4=20for=20npm=20=E2=80=94=20c?= =?UTF-8?q?luster=20has=20no=20IPv6=20egress?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .woodpecker/build-3.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker/build-3.yml b/.woodpecker/build-3.yml index 4e6baf5..03f0f35 100644 --- a/.woodpecker/build-3.yml +++ b/.woodpecker/build-3.yml @@ -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: