From e445c7825f3533046552fe394c94abdd8e061cca Mon Sep 17 00:00:00 2001 From: Keegan Witt Date: Mon, 17 Apr 2017 21:40:51 -0400 Subject: [PATCH] removed note about reusing cache for now to avoid confusion --- gradle/content.md | 9 --------- 1 file changed, 9 deletions(-) diff --git a/gradle/content.md b/gradle/content.md index a6c407230..9bf93179a 100644 --- a/gradle/content.md +++ b/gradle/content.md @@ -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 ` - -## 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 -```