From fbc1e995b751c24a355c8c0b48bb7410561d3bb3 Mon Sep 17 00:00:00 2001 From: Takalele Date: Sat, 1 Jun 2024 22:14:59 +0200 Subject: [PATCH 1/2] Update requirements.txt - Kerberos Authentication in LDAP-Resolver added gssapi --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 44a2c6f..5ac8440 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,3 +3,4 @@ psycopg2==2.9.9 grpcio==1.62.2 grpcio-tools==1.62.2 gunicorn==22.0.0 +gssapi==1.8.3 From 3c34b376c5a4071f02616b2073276576294be362 Mon Sep 17 00:00:00 2001 From: Takalele Date: Sat, 1 Jun 2024 22:19:12 +0200 Subject: [PATCH 2/2] Update Dockerfile - Kerberos Authentication in LDAP-Resolver added libkrb5-dev - build requirement for gssapi --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a522ead..547d3de 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ ARG BASE_IMAGE_TAG=3.8.18-slim-bookworm FROM python:$BASE_IMAGE_TAG as builder ENV VIRTUAL_ENV=/opt/privacyidea WORKDIR $VIRTUAL_ENV -RUN apt-get update && apt-get install -y python3-dev gcc libpq-dev +RUN apt-get update && apt-get install -y python3-dev gcc libpq-dev libkrb5-dev COPY requirements.txt requirements.txt RUN python3 -m venv "$VIRTUAL_ENV" && . $VIRTUAL_ENV/bin/activate && pip3 install wheel && pip3 install -r requirements.txt