aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/integration/docker/git_server/Dockerfile
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-07-12 17:50:48 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-07-12 17:50:48 +0200
commit4d974f0d44c9f6398fc9d46215a4572329f1fbd5 (patch)
treea65138f0993e025ff966bb44bfacb2835fe54859 /test/integration/docker/git_server/Dockerfile
parentREADME: minor update (diff)
downloadcgitize-4d974f0d44c9f6398fc9d46215a4572329f1fbd5.tar.gz
cgitize-4d974f0d44c9f6398fc9d46215a4572329f1fbd5.zip
test: no need to pre-configure git, remove some warnings
Diffstat (limited to 'test/integration/docker/git_server/Dockerfile')
-rw-r--r--test/integration/docker/git_server/Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/docker/git_server/Dockerfile b/test/integration/docker/git_server/Dockerfile
index a33bce3..55b3362 100644
--- a/test/integration/docker/git_server/Dockerfile
+++ b/test/integration/docker/git_server/Dockerfile
@@ -4,6 +4,7 @@ RUN apk add -q --no-cache bash git openssh-server tini && \
echo 'root:root' | chpasswd && \
git config --global user.name 'John Doe' && \
git config --global user.email 'John.Doe@example.com' && \
+ git config --global init.defaultBranch main && \
sed -ri 's/^#?PermitRootLogin\s+.*/PermitRootLogin yes/' /etc/ssh/sshd_config
WORKDIR /root