corrected .gradle path

This commit is contained in:
Keegan Witt 2017-03-23 23:02:49 -04:00
parent 18a2111fde
commit 2bebe6f641
1 changed files with 2 additions and 2 deletions

View File

@ -14,9 +14,9 @@ Run this from the directory of the Gradle project you want to build.
## Reusing the Gradle cache ## Reusing the Gradle cache
The local Gradle cache can be reused across containers by creating a volume and mounting it in */gradle/.gradle*. The local Gradle cache can be reused across containers by creating a volume and mounting it in */home/gradle/.gradle*.
```console ```console
docker volume create --name gradle-cache docker volume create --name gradle-cache
docker run -it -v gradle-cache:/gradle/.gradle gradle:latest gradle build docker run -it -v gradle-cache:/home/gradle/.gradle gradle:alpine gradle build
``` ```