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