acoustic-carpenter-78188
08/27/2025, 9:09 PMsrc/flyte/_internal/imagebuild/remote_builder.py file, improving how files are copied to the build context and correcting the default secret directory path for image builds.
Improvements to file handling in layer definition:
• Updated _get_layers_proto to use the copy_files_to_context function for copying pyproject and uvlock files, ensuring files are properly placed in the build context and referenced relative to it. Also, added support for options and secret_mounts in the layer definition.
Fix to secret directory path:
• Changed the default secret directory path from "etc/flyte/secrets" to "/etc/flyte/secrets" in _get_build_secrets_from_image, ensuring secrets are mounted from the correct location.
flyteorg/flyte-sdkacoustic-carpenter-78188
08/28/2025, 11:18 PM