aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2022-10-25 10:32:56 +0100
committerGravatar Chris Lovering <[email protected]>2022-10-25 10:32:56 +0100
commit1a3ea44ca56016c3cf87662215b4c4be7c648b11 (patch)
tree599b659991bb7a547ea08919ba3c59f26905952e
parentAlso build non-slim versions of Python (diff)
Include 3.11 builds and bump poetry version
-rw-r--r--.github/workflows/build.yml2
-rw-r--r--Dockerfile4
2 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 3b27209..fbdd84c 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -14,7 +14,7 @@ jobs:
build:
strategy:
matrix:
- python_version: ["3.9", 3.9-slim, "3.10", 3.10-slim, "3", 3-slim]
+ python_version: ["3.9", 3.9-slim, "3.10", 3.10-slim, "3.11", 3.11-slim, "3", 3-slim]
runs-on: ubuntu-latest
steps:
diff --git a/Dockerfile b/Dockerfile
index eb2538c..ba7e365 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,10 +1,10 @@
-ARG python_version=3.10
+ARG python_version=3.11-slim
FROM --platform=linux/amd64 python:$python_version
# POETRY_VIRTUALENVS_IN_PROJECT is required to ensure in-projects venvs mounted from the host in dev
# don't get prioritised by `poetry run`
-ENV POETRY_VERSION=1.2.0 \
+ENV POETRY_VERSION=1.2.2 \
POETRY_HOME="/opt/poetry/home" \
POETRY_CACHE_DIR="/opt/poetry/cache" \
POETRY_NO_INTERACTION=1 \