From be36e557b1183976484c2404c55e1b5bc80537fc Mon Sep 17 00:00:00 2001 From: venkat1701 Date: Tue, 6 Oct 2026 04:19:52 +0530 Subject: [PATCH] build(docker): use the C.UTF-8 locale in the build stage The native-image base image sets LANG=en_US.UTF-8 without having that locale, so bash printed a setlocale warning every time mvnw set LC_CTYPE. The runtime stage is unchanged. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 67942de..823e1a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ # syntax=docker/dockerfile:1.7 FROM ghcr.io/graalvm/native-image-community:25 AS build +ENV LANG=C.UTF-8 WORKDIR /src COPY .mvn .mvn COPY mvnw pom.xml ./