diff --git a/.github/workflows/package-indexer-checks.yml b/.github/workflows/package-indexer-checks.yml index 18aa2cf01..3cc910878 100644 --- a/.github/workflows/package-indexer-checks.yml +++ b/.github/workflows/package-indexer-checks.yml @@ -35,10 +35,10 @@ jobs: - name: style-check run: | - docker exec ${DOCKER_CONTAINER_NAME} pip install black + docker exec ${DOCKER_CONTAINER_NAME} pip install --break-system-packages black docker exec ${DOCKER_CONTAINER_NAME} black --check --diff . - name: linter run: | - docker exec ${DOCKER_CONTAINER_NAME} pip install mypy + docker exec ${DOCKER_CONTAINER_NAME} pip install --break-system-packages mypy docker exec ${DOCKER_CONTAINER_NAME} mypy . diff --git a/packaging/package-indexer/Dockerfile b/packaging/package-indexer/Dockerfile index 87d21361c..a3d3c9250 100644 --- a/packaging/package-indexer/Dockerfile +++ b/packaging/package-indexer/Dockerfile @@ -1,11 +1,11 @@ -FROM ubuntu:focal +FROM ubuntu:noble RUN apt-get update && apt-get install -y \ python3-pip \ apt-utils \ gnupg2 -RUN pip install \ +RUN pip install --break-system-packages \ azure-storage-blob \ azure-mgmt-cdn \ azure-identity \