From 2723b4d5d071fb69fef0630964612c84535ea9a9 Mon Sep 17 00:00:00 2001 From: jdx <216188+jdx@users.noreply.github.com> Date: Tue, 12 May 2026 16:02:22 -0500 Subject: [PATCH] fix(ci): set UTF-8 locale in e2e Docker image The e2e image had LC_CTYPE=POSIX, which caused ruby-build to fail when compiling ruby 4.0.4 from source: rdoc's C parser read UTF-8 bytes from sources like object.c and raised "invalid byte sequence in US-ASCII", aborting the `rdoc` make target. Co-Authored-By: Claude Opus 4.7 (1M context) --- packaging/e2e/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packaging/e2e/Dockerfile b/packaging/e2e/Dockerfile index bff7fbc761..78e8f79b11 100644 --- a/packaging/e2e/Dockerfile +++ b/packaging/e2e/Dockerfile @@ -7,6 +7,8 @@ LABEL org.opencontainers.image.licenses=MIT ENV DEBIAN_FRONTEND=noninteractive ENV PATH="/opt/node/bin:$PATH" +ENV LANG=C.UTF-8 +ENV LC_ALL=C.UTF-8 SHELL ["/bin/bash", "-o", "pipefail", "-c"]