cuddly-jelly-27016
07/16/2025, 7:54 PMUSER flytekit before the python venv installation commands leads to various issues, e.g. poetry package installation doesn't work because the flytekit user doesn't seem to have certain necessary network access while root does.
https://bito.ai#summarystart|
### Summary by Bito
This pull request optimizes the Docker image build process by ensuring that virtual environments and micromamba Python installations are owned by the flytekit user, reducing image size and avoiding layer duplication. Adjustments to the Dockerfile commands address issues with running as a non-root user.
flyteorg/flytekitcuddly-jelly-27016
07/16/2025, 10:22 PM