This doesn't happen for me on all images, just some, so I don't know what the issue is. (I haven't really investigated the code here.)
'NoneType' object has no attribute 'merge'
Traceback:
File "/opt/scancodeio/scanpipe/pipelines/__init__.py", line 96, in execute
step(self)
File "/opt/scancodeio/scanpipe/pipelines/root_filesystems.py", line 54, in find_root_filesystems
self.root_filesystems = list(rootfs.RootFs.from_project_codebase(self.project))
File "/opt/scancodeio/scanpipe/pipes/rootfs.py", line 101, in from_project_codebase
yield RootFs(location=rootfs_location)
File "<attrs generated init scanpipe.pipes.rootfs.RootFs>", line 4, in __init__
self.__attrs_post_init__()
File "/opt/scancodeio/scanpipe/pipes/rootfs.py", line 88, in __attrs_post_init__
self.distro = Distro.from_rootfs(self.location)
File "/usr/local/lib/python3.9/site-packages/container_inspector/distro.py", line 355, in from_rootfs
return base_distro.merge(found)
This doesn't happen for me on all images, just some, so I don't know what the issue is. (I haven't really investigated the code here.)