From 81d0c792a5c94ac57589acac697514d4fb8a45ab Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Tue, 6 Oct 2026 12:51:58 -0400 Subject: [PATCH] build(image): ship the ldap extra so LDAP sign-in works in the image (#5036) The Settings -> Auth LDAP block had no ldap3 to run on: every LDAP login logged "ldap3 not installed" and failed as "Invalid credentials". Operator chose shipping it over hiding the option. Co-Authored-By: Claude Opus 5.5 --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index fc8a570..fd7eb17 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,10 +19,11 @@ WORKDIR /app COPY pyproject.toml . COPY steward/ steward/ -# Bundle the extras whose first-party plugins ship in the image: [ansible] for -# the playbook runner, [snmp] (pysnmp) for the SNMP poller. Without them those -# bundled plugins load but silently no-op for want of their runtime dependency. -RUN pip install --no-cache-dir '.[ansible,snmp]' +# Bundle the extras whose features ship in the image: [ansible] for the +# playbook runner, [snmp] (pysnmp) for the SNMP poller, [ldap] (ldap3, pure +# Python) for LDAP sign-in under Settings -> Auth. Without them those features +# load but fail for want of their runtime dependency. +RUN pip install --no-cache-dir '.[ansible,snmp,ldap]' COPY alembic.ini . # First-party plugins ship inside the image (bundled root at /app/plugins).