nginxinc / nginx-ldap-auth

Example of LDAP authentication using ngx_http_auth_request_module
BSD 2-Clause "Simplified" License
678 stars 202 forks source link

Docker image won't build (python-ldap issue) #91

Open pintoflager opened 2 years ago

pintoflager commented 2 years ago

Docker image stopped building as alpine linux 3.15 bundles newer ldap (2.6) than python-ldap can handle (2.5), open issue

Might be a good idea to provide the alpine version in Dockerfile as argument.

ARG V_PYTHON=3
ARG V_ALPINE=3.14

FROM python:${V_PYTHON}-alpine${V_ALPINE}
tippexs commented 2 years ago

Hi @pintoflager - In such cases it is always better to use exact versioning to not run in such issues. I will update the Dockerfile and specify the container image with the right alpine version 3.14.