From 3b11f3389177850e1cc540088a89f7e4d03107f3 Mon Sep 17 00:00:00 2001 From: 3usi9 Date: Thu, 16 Nov 2023 15:31:14 +0800 Subject: [PATCH] Update getting-started.md Update docker image run command --- docs/getting-started.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index a4b499a8..5d9ae9cd 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -26,7 +26,7 @@ after we renamed the "Docker container" section into "Docker image". --> Use the `sourcegraph/scip-java` Docker image to run `scip-java`. ```sh -$ docker run -v $(pwd):/home/gradle --env JVM_VERSION=17 sourcegraph/scip-java:latest scip-java index +$ docker run -v $(pwd):/sources --env JVM_VERSION=17 sourcegraph/scip-java:latest scip-java index $ src code-intel upload # (optional) upload index to Sourcegraph ``` @@ -47,13 +47,13 @@ Use the following commands to use a different JVM version: ```sh # Java 8 -docker run -v $(pwd):/home/gradle --env JVM_VERSION=8 sourcegraph/scip-java:latest scip-java index +docker run -v $(pwd):/sources --env JVM_VERSION=8 sourcegraph/scip-java:latest scip-java index # Java 11 -docker run -v $(pwd):/home/gradle --env JVM_VERSION=11 sourcegraph/scip-java:latest scip-java index +docker run -v $(pwd):/sources --env JVM_VERSION=11 sourcegraph/scip-java:latest scip-java index # Java 17 (default) -docker run -v $(pwd):/home/gradle --env JVM_VERSION=17 sourcegraph/scip-java:latest scip-java index +docker run -v $(pwd):/sources --env JVM_VERSION=17 sourcegraph/scip-java:latest scip-java index ``` ### Java launcher