diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-12 17:50:48 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-12 17:50:48 +0200 |
commit | 4d974f0d44c9f6398fc9d46215a4572329f1fbd5 (patch) | |
tree | a65138f0993e025ff966bb44bfacb2835fe54859 /test/integration/docker/git_server | |
parent | README: minor update (diff) | |
download | cgitize-4d974f0d44c9f6398fc9d46215a4572329f1fbd5.tar.gz cgitize-4d974f0d44c9f6398fc9d46215a4572329f1fbd5.zip |
test: no need to pre-configure git, remove some warnings
Diffstat (limited to '')
-rw-r--r-- | test/integration/docker/git_server/Dockerfile | 1 |
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 |