elastic / eland

Python Client and Toolkit for DataFrames, Big Data, Machine Learning and ETL in Elasticsearch
https://eland.readthedocs.io
Apache License 2.0
635 stars 98 forks source link

Update Docker image to Debian 12 Bookworm #586

Closed pquentin closed 1 year ago

pquentin commented 1 year ago

Closes #585

When upgrading to Debian 12 Bookworm, I've hit https://pythonspeed.com/articles/externally-managed-environment-pep-668/ and got Python 3.11 which isn't supported yet by Eland so I decided to use the Python 3.10 official image instead. It does not offer date-based tags, so I followed https://snyk.io/blog/best-practices-containerizing-python-docker/ and pinned using the sha256 digest instead.

I've used the README to test that this was still working, including: