Skip to content

Commit

Permalink
Set Docker to use 3.11 for now
Browse files Browse the repository at this point in the history
Until we get new aiohttp wheels we need to build with 3.11.
You can see an example of a fail here:

Workaround for #3919 - Will leave it open until we can move to 3.21
  • Loading branch information
cooperlees committed Oct 6, 2023
1 parent 3457ec4 commit c1ab493
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3-slim AS builder
FROM python:3.11-slim AS builder

RUN mkdir /src
COPY . /src/
Expand All @@ -10,7 +10,7 @@ RUN . /opt/venv/bin/activate && pip install --no-cache-dir --upgrade pip setupto
&& cd /src \
&& pip install --no-cache-dir .[colorama,d]

FROM python:3-slim
FROM python:3.11-slim

# copy only Python packages to limit the image size
COPY --from=builder /opt/venv /opt/venv
Expand Down

0 comments on commit c1ab493

Please sign in to comment.