Skip to content

Commit b9904a1

Browse files
committed
Move scip-dotnet binary to /usr/local/bin
1 parent 7b665a9 commit b9904a1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM mcr.microsoft.com/dotnet/sdk:7.0
22
WORKDIR /scip-dotnet
33
ADD . /scip-dotnet
44
RUN dotnet pack
5-
ENV PATH="/root/.dotnet/tools:${PATH}"
65
RUN dotnet tool install --add-source ScipDotnet/bin/Debug/ --global scip-dotnet
6+
RUN mv /root/.dotnet/tools/scip-dotnet /usr/local/bin/scip-dotnet
77
RUN rm -rf /scip-dotnet
88
WORKDIR /root

readme.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ SCIP indexer for the C# programming language.
44

55
## Getting started
66

7-
The easiest way to run `scip-dotnet` is to run it through the
8-
`sourcegraph/scip-dotnet` Docker image.
7+
The easiest way to run `scip-dotnet` is to use the `sourcegraph/scip-dotnet`
8+
Docker image. You can alternatively install `scip-dotnet` as a local
9+
command-line tool by following the [local install](#local-install) instructions.
910

1011
### Docker image
1112

0 commit comments

Comments
 (0)