Hi folks -- has anyone ever tried to build a minim...
# ask-the-community
e
Hi folks -- has anyone ever tried to build a minimal container image capable of running Flyte task code? That is... cr.flyte.org/flyteorg/flytekit:py3.9-1.10.1 is about 1.5GB in size. Is there a more minimal set of dependencies that can be installed to make it closer to the size of the 110MB Python base image?
The Dockerfile at https://github.com/flyteorg/flytekit/blob/master/Dockerfile#L22-L26 has just a few Python packages -- the question is more about figuring out what dependencies of those are truly necessary to satisfy the contract of executing a task
k
Ohh deck standard is not necessary and also pod
We are working on trimming flytekit
But this is very interesting to us
e
Ok great -- thanks for the info. I'll keep my eyes peeled on the release notes and such
k
just installing base python packages makes it close to 1GB
e
Yeah, Python is not the leanest and meanest container citizen unfortunately