Closes #3051. Updates the AMD64 docker image to use Python 3.12 instead of Python 3.11. This is important for making sure the AMD64 images based on Chainguard continue to build in future, because the Chainguard latest images are updated frequently and could drop Python 3.11 support in the future.
This PR swaps from wolfi-base to python:latest-dev because building on wolfi-base could not install pycocotools with Python 3.12, though it worked for Python 3.11. We could likely explore slimming down the image by building on wolfi-base with a similar set of system dependencies from python:latest-dev.
As part of this PR, we mount the test directories instead of copying them into the Dockerfile.
Testing
CI, and specifically test_dockerfile should pass on the feature branch
make docker-start-dev should work with a new container, and you should be able to process a file
Summary
Closes #3051. Updates the AMD64 docker image to use Python 3.12 instead of Python 3.11. This is important for making sure the AMD64 images based on Chainguard continue to build in future, because the Chainguard latest images are updated frequently and could drop Python 3.11 support in the future.
This PR swaps from
wolfi-base
topython:latest-dev
because building onwolfi-base
could not installpycocotools
with Python 3.12, though it worked for Python 3.11. We could likely explore slimming down the image by building onwolfi-base
with a similar set of system dependencies frompython:latest-dev
.As part of this PR, we mount the test directories instead of copying them into the Dockerfile.
Testing
test_dockerfile
should pass on the feature branchmake docker-start-dev
should work with a new container, and you should be able to process a file