From 83e28636fb86c8d4aa5ef2e8591230ce60694315 Mon Sep 17 00:00:00 2001 From: Robert Szulist Date: Sun, 8 Sep 2019 00:37:51 +0200 Subject: [PATCH] Update README --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3f4a6fe..79c0634 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ To install and configure the reference implementation, perform the following ste 1. On the host where the ldap-auth daemon is to run, install the following additional software. We recommend using the versions that are distributed with the operating system, instead of downloading the software from an open source repository. - - Python version 2. Version 3 is not supported. + - Python version 2 and 3 are supported. - The Python LDAP module, **python-ldap** (created by the [python-ldap.org](http://www.python-ldap.org) open source project). 1. Copy the following files from your repository clone to the indicated hosts: @@ -44,6 +44,10 @@ To install and configure the reference implementation, perform the following ste docker build -t nginx-ldap-auth-daemon . docker run nginx-ldap-auth-daemon ``` + If you desire to use a container with Python3, you can supply an appropriate build argument: + ``` + docker build -t nginx-ldap-auth-daemon --build-arg PYTHON_VERSION=3 . + ``` - **nginx-ldap-auth-daemon-ctl.sh** – Sample shell script for starting and stopping the daemon. Install on the same host as the ldap-auth daemon.