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