From 8f65bedf2e2530c92b3a5248af8fe58fdc15e95b Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Sat, 18 Apr 2026 06:01:35 +0800 Subject: [PATCH] fix(ci): install xz-utils so Node tarball extraction works The direct-tarball Node install (switched from NodeSource apt in the last CI fix) failed with "xz: Cannot exec: No such file or directory" because Ubuntu 24.04 base doesn't include xz-utils. Node ships .tar.xz by default, and `tar -xJ` shells out to xz, which was missing. Add xz-utils to the base apt install alongside git/curl/unzip/etc. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/docker/Dockerfile.ci | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/docker/Dockerfile.ci b/.github/docker/Dockerfile.ci index a97d01f1..e0028e0a 100644 --- a/.github/docker/Dockerfile.ci +++ b/.github/docker/Dockerfile.ci @@ -23,7 +23,7 @@ RUN sed -i \ # System deps (retry apt-get update — even Hetzner can blip occasionally) RUN for i in 1 2 3; do apt-get update && break || sleep 5; done \ && apt-get install -y --no-install-recommends \ - git curl unzip ca-certificates jq bc gpg \ + git curl unzip xz-utils ca-certificates jq bc gpg \ && rm -rf /var/lib/apt/lists/* # GitHub CLI