<#126 Not copying ignore group file into docker im...
# flyte-github
a
#126 Not copying ignore group file into docker image Pull request opened by popojk ## Why are the changes needed? Currently when the user defines image spec with source folder like bellow example, the SDK will copy all files into temp dir and docker image:
Copy code
Image.from_debian_base(install_flyte=False)
    .with_env_vars({"hello": "world1"})
    .with_source_folder(Path(__file__).parent / "copy_files")
However, files such as
.gitignore
files and those under
.cache/*
should be excluded. ## What changes were proposed in this pull request? Referring to the current code bundle default IgnoreGroup practice, the SDK should excludes files in the default IgnoreGroup instead of copying them into the image. ## How was this patch tested? Unit tests flyteorg/flyte-sdk