Skip to content

ci: fail image scans when pip is in the image #55

Closed

Description

@uniqueg

Problem

pip in app images brings vendored packages that image scans flag (see elixir-cloud-aai/foca#556). FOCA 0.20.0 removes pip from its image, and the apps install their packages with uv instead. Nothing stops pip from coming back, though, e.g. through a new base image or an install step.

Proposal

Add a check to the shared scan action (or a small sibling action) that fails if the image contains pip (pip on the PATH, or a pip-*.dist-info in site-packages). Repos opt in with one input. Enable it in FOCA and the apps once each of them is free of pip.

Acceptance criteria

  • The shared action can fail a scan when pip is in the image, and its docs say how to enable this.
  • The check is tested in this repo's CI.

Activity

  1. added
    status: blocked
    type: ci / cd
    workload: hours
    on Nov 2, 2026
  2. added
    status: triage
    status: in progress
    and removed
    status: blocked
    status: triage
    on Nov 9, 2026
  3. self-assigned this
    on Nov 13, 2026
  4. removed
    status: in progress
    on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: lowtype: ci / cdworkload: hours

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions