mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 06:56:40 +01:00
Deduplicate packages across multiple container image layers (#930)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
FROM centos:7.9.2009
|
||||
# modifying the RPM DB multiple times will result in duplicate packages when using all-layers (if there was no de-dup logic)
|
||||
# curl is tricky, it already exists in the image and is being upgraded
|
||||
RUN yum install -y wget curl
|
||||
RUN yum install -y vsftpd
|
||||
RUN yum install -y httpd
|
||||
Reference in New Issue
Block a user