From 79a2e875a9ec1fe768bcd3b3c88e49b4d294bd90 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Wed, 26 Oct 2022 15:27:16 +0100 Subject: Matrix test both 3.10 and 3.11 in CI --- dev/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'dev') diff --git a/dev/Dockerfile b/dev/Dockerfile index aaf275ca..49d03ffd 100644 --- a/dev/Dockerfile +++ b/dev/Dockerfile @@ -1,10 +1,11 @@ -FROM --platform=linux/amd64 ghcr.io/chrislovering/python-poetry-base:3.10-slim +ARG python_version=3.11 +FROM --platform=linux/amd64 ghcr.io/chrislovering/python-poetry-base:$python_version-slim # Install project dependencies WORKDIR /app COPY pyproject.toml poetry.lock ./ -RUN poetry install --no-root --without lint,doc,test +RUN poetry install --no-root --only dev,main # Copy the source code in last to optimize rebuilding the image COPY . . -- cgit v1.2.3