Skip to content

Commit 0c246f7

Browse files
LeoTheMightyNusnus
andauthored
Update worker Dockerfile image to bookworm (#460)
* Update `worker` `Dockerfile` image to `bookworm` The issue here was that `slim-buster` has reached LTS and so trying to run `apt-get` commands on the image was returning 404 errors. The real robust solution is to upgrade to a newer future- proof image like `bookworm` instead. * Update to `python-3.12` * Use Python 3.10 1. We’re capped at 3.10 due to the `custom_setup` tests which use Celery 4. 2. The examples CI is bugged as it does not use the current branch’s changes and should work once the PR is merged to `main` (if everything else passes) --------- Co-authored-by: Tomer Nosrati <[email protected]>
1 parent 4d1a1db commit 0c246f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pytest_celery/vendors/worker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.10-slim-buster
1+
FROM python:3.10-slim-bookworm
22

33
# Create a user to run the worker
44
RUN adduser --disabled-password --gecos "" test_user

0 commit comments

Comments
 (0)