Optimize psycopg2 dependency
We have beeing installing psycopg2 for a while now. This updates to the latest version. Because psycopg2-binary is a direct dependency of Netbox both versions were installled. Now we remove the pre-compiled version from the dependency file.
This commit is contained in:
parent
22cb2d5812
commit
6d465e6f81
|
@ -31,7 +31,8 @@ RUN export DEBIAN_FRONTEND=noninteractive \
|
|||
|
||||
ARG NETBOX_PATH
|
||||
COPY ${NETBOX_PATH}/requirements.txt requirements-container.txt /
|
||||
RUN /opt/netbox/venv/bin/pip install \
|
||||
RUN sed -i -e '/psycopg2-binary/d' requirements.txt && \
|
||||
/opt/netbox/venv/bin/pip install \
|
||||
-r /requirements.txt \
|
||||
-r /requirements-container.txt
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
django-auth-ldap==4.1.0
|
||||
django-storages[azure,boto3,dropbox,google,libcloud,sftp]==1.13.1
|
||||
napalm==4.0.0
|
||||
psycopg2==2.9.4
|
||||
psycopg2==2.9.5
|
||||
python3-saml==1.14.0
|
||||
social-auth-core[all]==4.3.0
|
||||
|
|
Loading…
Reference in New Issue