Hello, I'm trying to build Kratos from source code. I need to modify claims in provider.go of oidc self service and make sure the image has no vulnerabilities. This is why I couldn't go with the current release 1.0.0 but master branch. I was able to build and deploy it (the only modification is with the aforementioned provider.go) but Kratos never passes the readiness probe as "migrations have not yet been applied". As I'm building it from the source I also use present in the Dockerfile-build file distroless image, which is great for me however I suspect that this could be the main reason why migrations are not working.
When I build it from 1.0.0 branch there are few high vulnerabilities present in golang which defeat the purpose of the upgrade. Can anyone please nudge me in the right direction? Is the master branch doable at all? Thanks for attention