Skip to content

Commit

Permalink
Update getting-started.md (#665)
Browse files Browse the repository at this point in the history
Update docker image run command
  • Loading branch information
3usi9 committed Nov 16, 2023
1 parent 686acd9 commit 29aa9bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand All @@ -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
Expand Down

0 comments on commit 29aa9bd

Please sign in to comment.