Skip to content

Commit a5ca1bf

Browse files
committed
feat: update Dockerfile to set AGENT_TOOLSDIRECTORY for Python test execution
1 parent 8512e9c commit a5ca1bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python-versions/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ RUN trivy fs --format cyclonedx --output /tmp/python-${PYTHON_VERSION}-${TARGETA
158158
WORKDIR /python-versions/tests
159159
RUN pwsh -Command "Install-Module -Name Pester -Force -Scope CurrentUser -SkipPublisherCheck"
160160
RUN cp $RUNNER_TEMP/work/build_output.txt $RUNNER_TEMP/ || touch $RUNNER_TEMP/build_output.txt
161-
RUN RUNNER_TOOL_CACHE=/opt pwsh python-tests.ps1 ${PYTHON_VERSION} linux ${TARGETARCH}
161+
RUN AGENT_TOOLSDIRECTORY=/opt RUNNER_TOOL_CACHE=/opt pwsh python-tests.ps1 ${PYTHON_VERSION} linux ${TARGETARCH}
162162

163163
# Sanitize Artifacts
164164
RUN find ${PYTHON_INSTALL_DIR} -name "*.pyc" -delete && \

0 commit comments

Comments
 (0)