When installing with a custom Dockerfile as recommended in the admin guide
The build fails with a permissions error.
Status: Downloaded newer image for redash/redash:latest ---> 1b48a51810b5 Step 2/2 : RUN pip install ldap3 ---> Running in aa45de5bea5a DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Collecting ldap3 Downloading https://files.pythonhosted.org/packages/06/a8/d53156e4c465b7a0dd57585e66473e4036e3bd9484a301fbd78383b57a28/ldap3-2.6.1-py2.py3-none-any.whl (417kB) Requirement already satisfied: pyasn1>=0.1.8 in /usr/local/lib/python2.7/site-packages (from ldap3) (0.4.7) Installing collected packages: ldap3 ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/site-packages/ldap3' Consider using the `--user` option or check the permissions. WARNING: You are using pip version 19.2.2, however version 19.3.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. ERROR: Service 'server' failed to build: The command '/bin/sh -c pip install ldap3' returned a non-zero code: 1