Skip to content

Commit b0d30cb

Browse files
committed
Fix win dockerfile
1 parent 2c9e532 commit b0d30cb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ci/docker/python-wheel-windows-vs2022.dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ ARG python=3.10
2626

2727
# Use python_abi_tag env var to select regular or free-threaded Python
2828
ARG python_variant=default
29+
ENV PYTHON_VERSION=${python}
2930
ENV PYTHON_VARIANT=${python_variant}
3031
RUN pymanager install --version %PYTHON_VERSION% --variant %PYTHON_VARIANT%
3132

32-
RUN %PYTHON_CMD% -m pip install -U pip setuptools
33+
RUN py -%PYTHON_VERSION% -m pip install -U pip setuptools
3334

3435
COPY python/requirements-wheel-build.txt C:/arrow/python/
35-
RUN %PYTHON_CMD% -m pip install -r C:/arrow/python/requirements-wheel-build.txt
36+
RUN py -%PYTHON_VERSION% -m pip install -r C:/arrow/python/requirements-wheel-build.txt
3637

3738
ENV PYTHON=${python}

0 commit comments

Comments
 (0)