From 1cc0cdc4d985689250bf56e3be20a802944fccca Mon Sep 17 00:00:00 2001 From: pedro Date: Tue, 16 Jan 2024 10:56:12 +0100 Subject: [PATCH] idhub docker: requirements for lafede pilot - add dependency for pdf signature - this one does not need the OIDC4VP thing --- docker/idhub.Dockerfile | 4 +++- docker/idhub.entrypoint.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/idhub.Dockerfile b/docker/idhub.Dockerfile index aa43271..b24b9f1 100644 --- a/docker/idhub.Dockerfile +++ b/docker/idhub.Dockerfile @@ -1,5 +1,6 @@ FROM debian:bullseye-slim +# last line is dependencies for weasyprint (for generating pdfs in lafede pilot) https://doc.courtbouillon.org/weasyprint/stable/first_steps.html#debian-11 RUN apt update && apt-get install -y \ python3-minimal \ python3-pip \ @@ -7,7 +8,8 @@ RUN apt update && apt-get install -y \ python-is-python3 \ git \ sqlite3 \ - jq + jq \ + python3-pip python3-cffi python3-brotli libpango-1.0-0 libpangoft2-1.0-0 WORKDIR /opt/idhub diff --git a/docker/idhub.entrypoint.sh b/docker/idhub.entrypoint.sh index 63de887..3d26545 100755 --- a/docker/idhub.entrypoint.sh +++ b/docker/idhub.entrypoint.sh @@ -70,7 +70,7 @@ END printf "This is DEVELOPMENT DEPLOYMENT: including demo hardcoded data\n creating initial Datas\n" >&2 ./manage.py initial_datas - if [ "${RESPONSE_URI}" ]; then + if [ "${RESPONSE_URI:-}" ]; then config_oidc4vp fi else