2 ms·
The best approach in my view is Bazel with a combination of rules_py , rules_pycross and rules_oci You can configure Bazel to fetch a standalone Python interpr
by fire_lake 2y ago
The best approach in my view is Bazel with a combination of rules_py , rules_pycross and rules_oci
You can configure Bazel to fetch a standalone Python interpreter. Your app is bundled with the right interpreter for the target platform. rules_pycross can fetch the correct dependencies across platforms. Bazel can put this into a minimalist base image.
I haven’t come across anything else that fixes this for Python. The conventional wisdom is to give up and build in Docker.