Skip to content

Regarding adding language support in Dolos API #1187

Closed Answered by rien
AashiqAhmed-Zessta asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @AashiqAhmed-Zessta,

When installing additiona tree-sitter parsers in the dockerfile, you will need to have the python3 and build-base packages present as well. You can look at the Dockerfile for an example:

# node-gyp needs python3 and a compiler to build tree-sitter
RUN apk --no-cache add python3 build-base &&\
npm -g install @dodona/dolos@$dolos_version &&\
apk --no-cache del python3 build-base

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rien
Comment options

You must be logged in to vote
2 replies
@AashiqAhmed-Zessta
Comment options

@rien
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants