Merge pull request #884 from keeganwitt/gradle

remove note about reusing cache for now
This commit is contained in:
yosifkit 2017-04-26 10:33:22 -07:00 committed by GitHub
commit 670d143709
1 changed files with 0 additions and 9 deletions

View File

@ -11,12 +11,3 @@
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 <gradle-task>`
## Reusing the Gradle cache
The local Gradle cache can be reused across containers by creating a volume and mounting it in */home/gradle/.gradle*.
```console
docker volume create --name gradle-cache
docker run -it -v gradle-cache:/home/gradle/.gradle gradle:alpine gradle build
```