From bed9012e2f8657df68cedf3be429c868aed04d3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20V=C3=A1radi?= Date: Tue, 27 Aug 2024 13:44:32 +0200 Subject: [PATCH] hostedtoolcache directory and environment variables for it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: István Váradi --- client-qt6/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client-qt6/Dockerfile b/client-qt6/Dockerfile index 0987432..c883f03 100644 --- a/client-qt6/Dockerfile +++ b/client-qt6/Dockerfile @@ -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}"