Skip to content
Snippets Groups Projects
Commit 2b06090d authored by Nicolas Dandrimont's avatar Nicolas Dandrimont
Browse files

Make sure third-party tools install their PATH entries at the front

parent 1d88b4ab
No related branches found
No related tags found
No related merge requests found
......@@ -142,17 +142,17 @@ WORKDIR /home/${user}
ENV LANG C.UTF-8
ENV PATH "${PATH}:/home/${user}/.local/bin"
ENV PATH "/home/${user}/.local/bin:${PATH}"
# Prepare npm package prefix
RUN mkdir -p /home/${user}/.local/npm-packages && \
npm config set prefix /home/${user}/.local/npm-packages
ENV PATH "${PATH}:/home/${user}/.local/npm-packages/bin"
ENV PATH "/home/${user}/.local/npm-packages/bin:${PATH}"
# install emscripten required for generating tree-sitter WASM module in swh-search
COPY --from=emscripten/emsdk:latest /emsdk /emsdk
ENV PATH="${PATH}:/emsdk/upstream/emscripten"
ENV PATH="/emsdk/upstream/emscripten:${PATH}"
# install Azurite, a clone of Azure Blob Storage used for swh-objstorage tests
RUN npm install -g azurite
......
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