发布

  • fix(docker): retry npm ci to survive transient registry ECONNRESETs (#840)

    frostbyte_neo 发布于 2026-06-02 12:41:55 +00:00 | 240 次提交 在此版本后已推送到 main

    The multi-arch build runs npm ci for the arm64 image under QEMU emulation,
    which is slow and prone to transient ECONNRESET errors from the npm registry
    (exit code 152) — this broke the Development Build after a recent merge while
    the amd64 leg succeeded.

    Add npm fetch-retry settings and wrap npm ci in a retry loop (up to 5
    attempts) in both Dockerfile and Dockerfile.single so a single network blip no
    longer fails the whole multi-arch build (incl. the release build).

    下载附件