Skip to content

Commit

Permalink
Fix Ubuntu/Python upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner authored and renovate[bot] committed Oct 8, 2024
1 parent 78e1064 commit d178ae8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .prospector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ doc-warnings: false

ignore-patterns:
- ^tilecloud/scripts/tc_.*.py
- ^examples/.*.py

pylint:
disable:
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ RUN --mount=type=cache,target=/var/lib/apt/lists \
--mount=type=cache,target=/var/cache,sharing=locked \
--mount=type=cache,target=/root/.cache \
apt-get update \
&& apt-get install --yes --no-install-recommends python3-pip python3-dev libpq-dev make libcairo2 libcairo2-dev gcc
&& apt-get install --yes --no-install-recommends python3-pip python3-dev python3-venv libpq-dev make libcairo2 libcairo2-dev gcc \
&& python3 -m venv /venv

ENV PATH=/venv/bin:$PATH

# Used to convert the locked packages by poetry to pip requirements format
# We don't directly use `poetry install` because it force to use a virtual environment.
Expand Down

0 comments on commit d178ae8

Please sign in to comment.