From 2bebe6f641bfa7460414f422fc6f99d759159bab Mon Sep 17 00:00:00 2001 From: Keegan Witt Date: Thu, 23 Mar 2017 23:02:49 -0400 Subject: [PATCH] corrected .gradle path --- gradle/content.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle/content.md b/gradle/content.md index 14c569e7d..a6c407230 100644 --- a/gradle/content.md +++ b/gradle/content.md @@ -14,9 +14,9 @@ Run this from the directory of the Gradle project you want to build. ## 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 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 ```