Skip to content

Commit 29aa9bd

Browse files
authored
Update getting-started.md (#665)
Update docker image run command
1 parent 686acd9 commit 29aa9bd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/getting-started.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ after we renamed the "Docker container" section into "Docker image". -->
2626
Use the `sourcegraph/scip-java` Docker image to run `scip-java`.
2727

2828
```sh
29-
$ docker run -v $(pwd):/home/gradle --env JVM_VERSION=17 sourcegraph/scip-java:latest scip-java index
29+
$ docker run -v $(pwd):/sources --env JVM_VERSION=17 sourcegraph/scip-java:latest scip-java index
3030
$ src code-intel upload # (optional) upload index to Sourcegraph
3131
```
3232

@@ -47,13 +47,13 @@ Use the following commands to use a different JVM version:
4747

4848
```sh
4949
# Java 8
50-
docker run -v $(pwd):/home/gradle --env JVM_VERSION=8 sourcegraph/scip-java:latest scip-java index
50+
docker run -v $(pwd):/sources --env JVM_VERSION=8 sourcegraph/scip-java:latest scip-java index
5151

5252
# Java 11
53-
docker run -v $(pwd):/home/gradle --env JVM_VERSION=11 sourcegraph/scip-java:latest scip-java index
53+
docker run -v $(pwd):/sources --env JVM_VERSION=11 sourcegraph/scip-java:latest scip-java index
5454

5555
# Java 17 (default)
56-
docker run -v $(pwd):/home/gradle --env JVM_VERSION=17 sourcegraph/scip-java:latest scip-java index
56+
docker run -v $(pwd):/sources --env JVM_VERSION=17 sourcegraph/scip-java:latest scip-java index
5757
```
5858

5959
### Java launcher

0 commit comments

Comments
 (0)