Skip to content

Migrate away from uw-saml-poetry base image for improved clarity and independence #55

@soufianerafik

Description

@soufianerafik

Context: The current Dockerfile uses the shared base image ghcr.io/uwit-iam/uw-saml-poetry, which is now no longer maintained and is being removed from the shared docker repo as part of a cleanup effort.

This image was originally helpful for bootstrapping Poetry and preloading uw-saml-python, but it's become a source of hidden dependencies and fragility.

Why we should move off it?

  • Not maintained: The uw-saml-poetry image hasn’t been updated in years and won’t get any future updates or fixes.
  • Too tightly coupled: It bundles both Poetry setup and app-specific stuff, so changing one part means dealing with the whole image.
  • Less flexible: It's better if each repo owns its own setup so we’re not tied to shared images for basic tools like Poetry.

The base image does a lot under the hood, making it harder to trace or customize how dependencies are installed.

Recommendation:

This is how we currently handle it in Identity.UW: docker/identity-uw.dockerfile

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions