diff --git a/gradle/content.md b/gradle/content.md index b799cba5b..f8818dd99 100644 --- a/gradle/content.md +++ b/gradle/content.md @@ -6,10 +6,12 @@ # How to use this image +Note that if you are mounting a volume and the uid running Docker is not `1000`, you should run as user `root` (`-u root`). + ## Building a Gradle project Run this from the directory of the Gradle project you want to build. -`docker run --rm -v "$PWD":/project -w /project --name gradle gradle:alpine gradle ` +`docker run --rm -v "$PWD":/home/gradle/project -w /home/gradle/project gradle:latest gradle ` **Note: Java 9 support is experimental**