project-copacetic / copacetic

🧵 CLI tool for directly patching container images using reports from vulnerability scanners
https://project-copacetic.github.io/copacetic/
Apache License 2.0
843 stars 57 forks source link

[BUG] Re-patching amazonlinux image #659

Closed ashnamehrotra closed 3 weeks ago

ashnamehrotra commented 3 weeks ago

Version of copa

No response

Expected Behavior

After running ./copa patch -i docker.io/library/amazonlinux:2.0.20210326.0, and re-running copa on the patched image ./copa patch -i docker.io/library/amazonlinux:2.0.20210326.0-patched results in the following error

DEBU[0001] RPM DB Type in image is: RPMDBMixed          
ERRO[0001] could not find determine RPM DB type of target image: RPMDBMixed 
Error: could not find determine RPM DB type of target image: RPMDBMixed

Actual Behavior

No response

Steps To Reproduce

No response

Are you willing to submit PRs to contribute to this bug fix?

ashnamehrotra commented 3 weeks ago

Might be related to #592?

ashnamehrotra commented 3 weeks ago

might be specific to #644, unable to reproduce this