Skip to content

Commit 80d87bd

Browse files
authored
Merge pull request #894 from tobiasge/psycopg2-changes
Optimize psycopg2 dependency
2 parents b720842 + 6d465e6 commit 80d87bd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ RUN export DEBIAN_FRONTEND=noninteractive \
3131

3232
ARG NETBOX_PATH
3333
COPY ${NETBOX_PATH}/requirements.txt requirements-container.txt /
34-
RUN /opt/netbox/venv/bin/pip install \
34+
RUN sed -i -e '/psycopg2-binary/d' requirements.txt && \
35+
/opt/netbox/venv/bin/pip install \
3536
-r /requirements.txt \
3637
-r /requirements-container.txt
3738

requirements-container.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
django-auth-ldap==4.1.0
22
django-storages[azure,boto3,dropbox,google,libcloud,sftp]==1.13.1
33
napalm==4.0.0
4-
psycopg2==2.9.4
4+
psycopg2==2.9.5
55
python3-saml==1.14.0
66
social-auth-core[all]==4.3.0

0 commit comments

Comments
 (0)