aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/integration/docker
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/docker')
-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