Skip to content

Remove unneeded package installs depending on image #67

@jkuangsc

Description

@jkuangsc

Example

FROM python:3.9.18-slim

RUN apt-get update -q -q && \
 apt-get install curl python3 python3-pip

Chainguard recommends removing package installs that already exist on the base image (i.e. listed in their SBOM). Can DFC filter out these installs, ideally checking against that specific image's SBOM?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions