File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM williamfzc/srctx:v0.4.2
22
3- RUN apk add --no-cache python3 py3-pip graphviz
3+ RUN apk add --no-cache graphviz curl
44
55COPY . /action_internal
66
7- RUN pip3 install -r /action_internal/requirements.txt && \
7+ # python lsif
8+ RUN apk add --no-cache python3 py3-pip && \
9+ pip3 install -r /action_internal/requirements.txt && \
810 pip3 install --upgrade git+https://github.com/sourcegraph/lsif-py.git
911
12+ # scip converter
13+ RUN curl -fLo scip-linux-amd64.tar.gz https://github.com/sourcegraph/scip/releases/download/v0.2.3/scip-linux-amd64.tar.gz \
14+ && tar xf ./scip-linux-amd64.tar.gz \
15+ && chmod +x ./scip \
16+ && ./scip --help
17+
18+ # java/kotlin/scala scip/lsif
19+ RUN apk add openjdk17 \
20+ && curl -fLo coursier https://git.io/coursier-cli \
21+ && chmod +x coursier \
22+ && ./coursier bootstrap --standalone -o scip-java com.sourcegraph:scip-java_2.13:0.8.18 --main com.sourcegraph.scip_java.ScipJava \
23+ && ./scip-java --help
24+
1025ENTRYPOINT ["python3" , "/action_internal/main.py" ]
You can’t perform that action at this time.
0 commit comments