Browse Source

corrected .gradle path

Keegan Witt 8 năm trước cách đây
mục cha
commit
2bebe6f641
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      gradle/content.md

+ 2 - 2
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
 ```