From c84810636a9d95b448b59b0093e8bb4297d8daa3 Mon Sep 17 00:00:00 2001 From: Hans Maerki Date: Sat, 8 Nov 2025 11:20:48 +0100 Subject: [PATCH] Dockerfile: Prevent git asking for user Signed-off-by: Hans Maerki --- docker/linux-wasm-base/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker/linux-wasm-base/Dockerfile b/docker/linux-wasm-base/Dockerfile index a0ec956..802c2e3 100644 --- a/docker/linux-wasm-base/Dockerfile +++ b/docker/linux-wasm-base/Dockerfile @@ -14,3 +14,8 @@ RUN apt update && \ apt install -y kitware-archive-keyring && \ apt install -y build-essential git cmake ninja-build python3 flex bison bc rsync cpio && \ rm -rf /var/lib/apt/lists/* + +# Prevent git asking for user +# Corresponds to: +RUN git config --system user.email "you@example.com" +RUN git config --system user.name "Your Name"