-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Referencing our discussion in #17
why have you introduced two runtimes? We have focused using 3.8 and 3.11 for testing purposes but I think we don’t need both runtimes to be public here
3.8 is the minimum version, and 3.11 the current maximum. 3.11 supports a few newer libraries. And with upcoming changes, support for newer versions, we can quickly start and test them.
It is not necessary to put both. But also the files and code for both are very few.
And when we need to quickly check something, they are there and prepared.
you are using manylknux as the baseimage for the runtimes (3.8 & 3.11), why? I think this is a huge image and not necessary for a getml runtime
That is about 460MB. (https://quay.io/repository/pypa/manylinux2014_x86_64?tab=tags&tag=latest)
The standard Python image is about 360MB. (https://hub.docker.com/_/python/tags)
python:-slim
This image does not contain the common Debian packages contained in the default tag and only contains the minimal Debian packages needed to run python. Unless you are working in an environment where only the python image will be deployed and you have space constraints, we highly recommend using the default image of this repository.
When using this image pip install will work if a suitable built distribution is available for the Python distribution package being installed. pip install may fail when installing a Python distribution package from a source distribution. This image does not contain the Debian packages required to compile extension modules written in other languages.
There is also Jupyter-Lab, getML engne, getML monitor running inside. I would need to try, if they still work in the slim one. (A quick runs in problems with missing curl and can't apt install it… And pysimdjson fails with error: command 'gcc' failed: No such file or directory
)
But are ~500MB really that much for just quickly checking things out?
Okay, on disk it is more like 1.56 GB.
And the build notebook images (with installed requirements and things) are 4.53 GB
(The ones build from Python-images are 3.85 GB and 4 GB - not too much different, I think.)
Because of PEP513... PEP600... , manylinux sounded like a good base.
Originally posted by @Urfoex in #17 (comment)