From a8a6dc2e1a0bb13d913ee52d8e33ce97a4ff0d57 Mon Sep 17 00:00:00 2001 From: Miro Stauder Date: Tue, 10 May 2022 09:51:10 +0000 Subject: [PATCH] fix git issue - unsafe directory - one more --- docker/images/proxysql/rhel-compliant/entrypoint/entrypoint.bash | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/images/proxysql/rhel-compliant/entrypoint/entrypoint.bash b/docker/images/proxysql/rhel-compliant/entrypoint/entrypoint.bash index 0a7085b2c5..a60e31d862 100755 --- a/docker/images/proxysql/rhel-compliant/entrypoint/entrypoint.bash +++ b/docker/images/proxysql/rhel-compliant/entrypoint/entrypoint.bash @@ -22,6 +22,7 @@ rm -fr /root/.pki /root/rpmbuild/{BUILDROOT,RPMS,SRPMS,BUILD,SOURCES,tmp} /opt/p # Clean and build dependancies and source echo "==> Building" +git config --global --add safe.directory '/opt/proxysql' cd /opt/proxysql export SOURCE_DATE_EPOCH=$(git show -s --format=%ct HEAD) if [[ -z ${PROXYSQL_BUILD_TYPE:-} ]] ; then