Skip to content

docs: add a derived-image recipe for plugins #323

Closed

Description

@uniqueg

Problem

Plugins are Python distributions (the foca-plugins monorepo or any
other repository) that must be installed into the image: nothing is
installed at runtime, and the chart keeps a read-only root file system.
Operators need a reviewed, reproducible way to build an image with the
plugins they enable.

Proposal

  1. Recipe (docs/plugins.md, section "Installing plugins"): a
    derived image,
    FROM ghcr.io/elixir-cloud-aai/protes:<version> plus
    RUN pip install --no-deps --require-hashes -r plugins.txt, with
    plugins.txt generated by pip-compile --generate-hashes (or uv)
    from e.g. foca-plugins[tes]==<train> or single distributions; how to
    verify PEP 740 attestations (pypi-attestations verify) before the
    build; scan and sign the result like the proTES image.
  2. Build arg in the Dockerfile (PLUGINS, empty by default) as a
    convenience for local builds; documented as not hash-pinned.
  3. Chart: values for the image (already there) and the plugins
    config (from T1), with an example for a derived image in the chart
    README; no install logic in the chart.
  4. No published image variant with all plugins (combinatorics; others
    run their own plugin repositories too).

Acceptance criteria

  • The recipe builds an image with a plugin from the monorepo, and
    proTES loads it via the allowlist (tested in CI with a small test
    distribution, or manually documented if CI can't).
  • docs/plugins.md and the chart README describe image and config
    together.

Dependencies

Open questions

  • None.

Activity

  1. added
    priority: medium
    status: blocked
    type: delivery
    type: docs
    workload: days
    on Oct 24, 2026
  2. added
    status: in progress
    and removed
    status: blocked
    on Oct 31, 2026
  3. removed
    status: in progress
    on Oct 31, 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: mediumtype: deliverytype: docsworkload: days

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions