feat: use uv in CI (#31260)

This commit is contained in:
Maxime Beauchemin
2024-12-02 18:16:56 -08:00
committed by GitHub
parent d4888fa4af
commit dd1ba96adf
4 changed files with 10 additions and 9 deletions

View File

@@ -85,7 +85,7 @@ RUN if [ "$BUILD_TRANSLATIONS" = "true" ]; then \
# Transition to Python base image
FROM python:${PY_VER} AS python-base
RUN pip install --no-cache-dir --upgrade setuptools pip
RUN pip install --no-cache-dir --upgrade setuptools pip uv
######################################################################
# Final lean image...
@@ -191,7 +191,7 @@ RUN --mount=type=bind,source=./docker,target=/docker \
# Install Playwright and its dependencies
RUN --mount=type=cache,target=/root/.cache/pip \
pip install playwright \
uv pip install --system playwright \
&& playwright install-deps
# Optionally install Chromium