In both cases, the suggestion was to add
.gradle to the
.dockerignore, in order to make sure it is not part of the
docker build context.
Plus this comment:
After few reboots and cleaning a repo described errors wasn’t appear anymore.
Seems like it was some local / windows issue
CLICK HERE to find out more related problems solutions.