Make .gradle, output, build, and modules directories writable (chmod 777) so the container works when K8s runs it as a non-root user.