Skip to content
Snippets Groups Projects
Verified Commit 2fea9ce4 authored by Vincent Sellier's avatar Vincent Sellier
Browse files

Install a missing python module for the swh-search build

Related to T3484
parent 949068b6
No related branches found
No related tags found
No related merge requests found
......@@ -55,12 +55,14 @@ RUN --mount=type=cache,id=apt-cache,target=/var/cache/apt --mount=type=cache,id=
apt-get install -y --no-install-recommends \
opam
# install emscripten required for generating tree-sitter WASM module in swh-search
# install emscripten required for generating tree-sitter WASM module in swh-search
RUN cd /opt && git clone https://github.com/emscripten-core/emsdk.git && cd emsdk \
&& ./emsdk install latest && ./emsdk activate latest
ENV PATH="${PATH}:/opt/emsdk/upstream/emscripten"
# Install the tree-sitter python module needed by the yarn build of swh-search
RUN pip3 install tree-sitter==0.19.0
## vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv ##
# inlined from https://raw.githubusercontent.com/jenkinsci/docker-slave/dde4b4483ef4fa06f436fe92247d1001af74a6dd/Dockerfile-jdk11
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment