Formatting fixes

This commit is contained in:
Keegan Witt 2019-05-30 20:59:58 -04:00
parent b302cd0106
commit 4c38952d01
1 changed files with 2 additions and 3 deletions

View File

@ -12,7 +12,6 @@ Run this from the directory of the Gradle project you want to build.
`docker run --rm -u gradle -v "$PWD":/home/gradle/project -w /home/gradle/project %%IMAGE%% gradle <gradle-task>`
Note the above command runs using uid/gid 1000 (user _gradle_) to avoid running as root.
Note the above command runs using uid/gid 1000 (user *gradle*) to avoid running as root.
If you are mounting a volume and the uid/gid running Docker is not _1000_, you should run as user _root_ (`-u root`).
_root_ is also the default, so you can also simply not specify a user.
If you are mounting a volume and the uid/gid running Docker is not *1000*, you should run as user *root* (`-u root`). *root* is also the default, so you can also simply not specify a user.