Docker image permission issue

Hi

Thank you for the quick response. I already chose first approach.
But the question still remains. Why did you introduce gradle user in your Dockerfile if we have to switch to root user in any case?