Dockerfile: Prevent git asking for user
Signed-off-by: Hans Maerki <buhtig.hans.maerki@ergoinfo.ch>
This commit is contained in:
parent
6f33d46d74
commit
c84810636a
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user