1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

add django-auth-ldap to Dockerfile

This commit is contained in:
Robert Drake
2016-09-08 20:05:32 -04:00
parent 9eec975800
commit 9718895ff9

View File

@ -5,7 +5,10 @@ WORKDIR /opt/netbox
ARG BRANCH=master ARG BRANCH=master
ARG URL=https://github.com/digitalocean/netbox.git ARG URL=https://github.com/digitalocean/netbox.git
RUN git clone --depth 1 $URL -b $BRANCH . && \ RUN git clone --depth 1 $URL -b $BRANCH . && \
pip install gunicorn==17.5 && pip install -r requirements.txt apt-get update -qq && apt-get install -y libldap2-dev libsasl2-dev libssl-dev && \
pip install gunicorn==17.5 && \
pip install django-auth-ldap && \
pip install -r requirements.txt
ADD docker/docker-entrypoint.sh /docker-entrypoint.sh ADD docker/docker-entrypoint.sh /docker-entrypoint.sh
ADD netbox/netbox/configuration.docker.py /opt/netbox/netbox/netbox/configuration.py ADD netbox/netbox/configuration.docker.py /opt/netbox/netbox/netbox/configuration.py