From 05a1e2de22755cbf53118020663d524c17904562 Mon Sep 17 00:00:00 2001 From: Kevin Daudt Date: Tue, 6 Jun 2023 21:39:45 +0200 Subject: [PATCH] gitlab/setup: remove additional cruft The .git and tmp/cache dir are not required and waste space. --- overlay/usr/local/bin/setup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/overlay/usr/local/bin/setup.sh b/overlay/usr/local/bin/setup.sh index cf74974..0c411a8 100755 --- a/overlay/usr/local/bin/setup.sh +++ b/overlay/usr/local/bin/setup.sh @@ -186,6 +186,8 @@ chown -R git:git /home/git rm -rf /home/git/gitlab/node_modules \ /home/git/gitlab/docker \ /home/git/gitlab/qa \ + /home/git/gitlab/.git \ + /home/git/gitlab/tmp/cache \ /root/.bundle/cache \ /root/.cache \ /root/go \