Skip to content

build: drop pip by adopting the FOCA image without it #279

Open

Description

@uniqueg

Problem

The image scan ignores findings in the copies of urllib3, setuptools and msgpack that pip vendors (.trivyignore.yaml, entries expiring on 2027-01-31). pip comes from the FOCA base image and is only used at build time. Once the entries expire, every image scan fails again, including on dev.

Proposal

This is fixed centrally in FOCA: elixir-cloud-aai/foca#556 removes pip from the FOCA image (FOCA 0.20.0). Once that is released:

  • Bump the base image to the FOCA release without pip.
  • Install the app's packages with uv from the stage that is already pinned by digest (uv pip install --system --require-hashes …), as documented by FOCA; don't copy uv into the final image. This includes any step that installs extra packages or plugins on top of the image.
  • Remove the pip-related entries from .trivyignore.yaml.
  • Update the docs that describe the image build.

Acceptance criteria

  • The final image contains no pip.
  • .trivyignore.yaml has no entries for packages vendored by pip, and the image scan passes.

Activity

  1. added
    priority: low
    status: triage
    type: security
    workload: hours
    on Oct 28, 2026
  2. changed the title [-]build: drop pip from image before CVE ignore ends[/-] [+]build: drop pip by adopting the FOCA image without it[/+] on Nov 2, 2026
  3. added
    status: blocked
    priority: medium
    and removed
    priority: low
    status: triage
    on Nov 2, 2026
  4. added
    status: on hold
    and removed
    status: blocked
    on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumstatus: on holdtype: securityworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions