Skip to content

Commit 8768362

Browse files
committed
fix: disable detach of git maintenance after exit of main git process
This is new git behaviour introduced with upgrade of git to 2.48.1 Signed-off-by: Eugene Doudine <eugene.doudine@octopus.com>
1 parent 7159a9a commit 8768362

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

.dockerignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,6 @@ examples/
2828
!hack/gpg-wrapper.sh
2929
!hack/git-verify-wrapper.sh
3030
!hack/tool-versions.sh
31-
!hack/install.sh
31+
!hack/install.sh
32+
!hack/gitconfig
33+

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ COPY hack/gpg-wrapper.sh \
6262
hack/git-verify-wrapper.sh \
6363
entrypoint.sh \
6464
/usr/local/bin/
65+
COPY hack/gitconfig /etc/gitconfig
6566
COPY --from=builder /usr/local/bin/helm /usr/local/bin/helm
6667
COPY --from=builder /usr/local/bin/kustomize /usr/local/bin/kustomize
6768

hack/gitconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[maintenance]
2+
autoDetach = false
3+
[gc]
4+
autoDetach = false

0 commit comments

Comments
 (0)