Dockerfile: Prevent git asking for user

Signed-off-by: Hans Maerki <buhtig.hans.maerki@ergoinfo.ch>
This commit is contained in:
Hans Maerki 2025-11-08 11:20:48 +01:00
parent 6f33d46d74
commit c84810636a

View File

@ -14,3 +14,8 @@ RUN apt update && \
apt install -y kitware-archive-keyring && \ apt install -y kitware-archive-keyring && \
apt install -y build-essential git cmake ninja-build python3 flex bison bc rsync cpio && \ apt install -y build-essential git cmake ninja-build python3 flex bison bc rsync cpio && \
rm -rf /var/lib/apt/lists/* 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"