File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ ENV REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
6767COPY nipap /nipap
6868WORKDIR /nipap
6969RUN pip3 --no-input install --break-system-packages --no-cache-dir envtpl==0.7.2 \
70- && pip3 --no-input install -I --break-system-packages --no-cache-dir .
70+ && pip3 --no-input install -I --break-system-packages --no-cache-dir '.[instrumentation,ldap_auth]'
7171
7272EXPOSE 1337
7373ENV LISTEN_ADDRESS=0.0.0.0 LISTEN_PORT=1337 SYSLOG=false DB_PORT=5432 DB_SSLMODE=disable DB_NAME=nipap
Original file line number Diff line number Diff line change @@ -64,8 +64,8 @@ COPY pynipap /pynipap
6464COPY nipap /nipap
6565COPY nipap-www /nipap-www
6666RUN pip3 --no-input install --break-system-packages --no-cache-dir ./pynipap/ && \
67- pip3 --no-input install --break-system-packages --no-cache-dir ./nipap/ && \
68- pip3 --no-input install --break-system-packages --no-cache-dir ./nipap-www/ && \
67+ pip3 --no-input install --break-system-packages --no-cache-dir ' ./nipap/[instrumentation,ldap_auth]' && \
68+ pip3 --no-input install --break-system-packages --no-cache-dir ' ./nipap-www/[instrumentation,ldap_auth]' && \
6969 mkdir -p /etc/nipap/www/ && cp ./nipap-www/nipap-www.wsgi /etc/nipap/www/
7070
7171EXPOSE 80
Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ instrumentation = [
3636 " opentelemetry-util-http==0.50b0"
3737]
3838
39+ ldap_auth = [
40+ " python-ldap==3.4.4"
41+ ]
42+
3943[project .urls ]
4044Homepage = " http://SpriteLink.github.io/NIPAP"
4145
You can’t perform that action at this time.
0 commit comments