hi there, I'm having trouble with building Docker images where I have multiple files of the same filename but in different paths, does anybody know if this is a bug?
j
josh
12/02/2020, 2:36 PM
Hi @Alex Koay I’m not sure I follow what you’re attempting to do. Could you post a reproducible example?
a
Alex Koay
12/03/2020, 2:54 AM
hey @josh I've attached a screenshot
I'm adding files that have the same name but reside in different folders (
__init__.py
would appear multiple times for modules) but here I'm using
flow.py
instead of
__init__.py
for brevity
j
josh
12/03/2020, 2:16 PM
Hmm that’s interesting, could be a bug. If you give your two flow files different names does it work by any chance?
a
Alex Koay
12/04/2020, 3:43 AM
yup if I give it different filenames it works
Alex Koay
12/04/2020, 4:36 AM
ok I've gone through the function and determined that the problem lies with it using only the filename during copy -- perhaps using the full path with separators replaced by underscores will fix the problem
Alex Koay
12/04/2020, 4:36 AM
in the meantime, it seems that the files parameter also supports taking entire directories (which should fix this issue)
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.