Commit ccbab72d authored by nimrod's avatar nimrod
Browse files

workbench: Install multiple Python versions.

Use `uv` to install multiple Python versions.
parent 1a575bd1
Loading
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -261,6 +261,13 @@ RUN export PIP_CONSTRAINT=/tmp/constraint.txt && \
    pipx install --global uv && \
    CFLAGS="-Wno-error=incompatible-pointer-types" pipx install --global https://github.com/aws/aws-cli/archive/refs/heads/v2.zip && \
    rm -rf /tmp/* /var/tmp/* ~/.cache/*
RUN for python in 3.10 3.11 3.12 3.13 3.14; \
    do \
        UV_PYTHON_INSTALL_DIR=/usr/local/share/uv \
        UV_PYTHON_BIN_DIR=/usr/local/bin \
        PIP_ROOT_USER_ACTION=ignore \
        uv python install "$python"; \
    done
ENV COREPACK_HOME=/usr/local/share/corepack
# hadolint ignore=DL3016
RUN npm install --global \