Problems deploying aws lamdbdas using buildkite

Not sure if this is the right place to ask this question. We’re using buildkite to trigger a serverless deploy to AWS. During the build process, we’re receiving an error when the following command is being executed:

Running “docker run --rm -v /root/.cache/serverless-python-requirements/{uuid}:/var/task:z -v /root/.cache/serverless-python-requirements/downloadCacheslspyc:/var/useDownloadCache:z python:3.12-alpine /bin/sh -c chown -R 0:0 /var/useDownloadCache && python -m pip install -t /var/task/ -r /var/task/requirements.txt --cache-dir /var/useDownloadCache && chown -R 0:0 /var/task && chown -R 0:0 /var/useDownloadCache” failed with: "Unable to find image ‘python:3.12-alpine’ locally

which is:
ERROR: Could not open requirements file: [Errno 2] No such file or directory: ‘/var/task/requirements.txt’"

Buildkite is using ubuntu:20.24 as the image for the job. Has anyone ran into this issue?

I’ve never use BuildKite but seeing that Ubuntu 20.24 image is being used, I think that is important to mention that its official python version is Python 3.8 (ref).

I being through an issue once with Ubuntu 22.X trying to use Python 3.13 and got some errors on apt commands, as its default Python version is 3.10. The errors being shown was quite deceiving as it does not inform any version incompatibility, just said that some files were missing.

This might be related to your problem but, honestly, I have no idea of what is the exactly issue or if its even related with serverless. Hope this info helps =]