I use
echo "127.0.0.2 ldap.example.com" >> /etc/hosts
to prevent the running ldap server from syncing during image building. However when using DOCKER_BUILDKIT=1 this is not possible any more (read only fs).
I was wondering if it is possible to start slapd so it does not start syncing?