Skip to content

Commit

Permalink
hostedtoolcache directory and environment variables for it
Browse files Browse the repository at this point in the history
Signed-off-by: István Váradi <[email protected]>
  • Loading branch information
ivaradi authored and mgallien committed Sep 23, 2024
1 parent 2a1f25d commit bed9012
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client-qt6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -256,3 +256,8 @@ RUN curl -sSLo /opt/sonar/build-wrapper-linux-x86.zip ${BUILD_WRAPPER_DOWNLOAD_U
unzip -o /opt/sonar/build-wrapper-linux-x86.zip -d /opt/sonar/

ENV PATH=/opt/sonar/build-wrapper-linux-x86:${PATH}

# Install Python properly (e.g. for clang-tidy-pr-comments)
ENV AGENT_TOOLSDIRECTORY=/opt/hostedtoolcache
ENV RUNNER_TOOL_CACHE=/opt/hostedtoolcache
RUN mkdir -p "${AGENT_TOOLSDIRECTORY}"

0 comments on commit bed9012

Please sign in to comment.