mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Update package requirements for docker (#3285)
* Include cargo / rustc in the docker image - Otherwise cryptography library seems to fail * Revert cryptography lib to older version - New version requires rust, adds ~300MB to the image size!
This commit is contained in:
parent
c81043ba42
commit
830ecd5677
@ -22,7 +22,7 @@ ENV PYTHONUNBUFFERED 1
|
|||||||
# Ref: https://github.com/pyca/cryptography/issues/5776
|
# Ref: https://github.com/pyca/cryptography/issues/5776
|
||||||
ENV CRYPTOGRAPHY_DONT_BUILD_RUST 1
|
ENV CRYPTOGRAPHY_DONT_BUILD_RUST 1
|
||||||
|
|
||||||
ENV INVENTREE_LOG_LEVEL="INFO"
|
ENV INVENTREE_LOG_LEVEL="WARNING"
|
||||||
ENV INVENTREE_DOCKER="true"
|
ENV INVENTREE_DOCKER="true"
|
||||||
|
|
||||||
# InvenTree paths
|
# InvenTree paths
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
# Please keep this list sorted - if you pin a version provide a reason
|
# Please keep this list sorted - if you pin a version provide a reason
|
||||||
Django<4 # Django package
|
Django<4 # Django package
|
||||||
coreapi # API documentation for djangorestframework
|
coreapi # API documentation for djangorestframework
|
||||||
|
cryptography==3.4.8 # Core cryptographic functionality
|
||||||
django-allauth # SSO for external providers via OpenID
|
django-allauth # SSO for external providers via OpenID
|
||||||
django-allauth-2fa # MFA / 2FA
|
django-allauth-2fa # MFA / 2FA
|
||||||
django-cleanup # Automated deletion of old / unused uploaded files
|
django-cleanup # Automated deletion of old / unused uploaded files
|
||||||
|
@ -30,8 +30,10 @@ coreapi==2.3.3
|
|||||||
# via -r requirements.in
|
# via -r requirements.in
|
||||||
coreschema==0.0.4
|
coreschema==0.0.4
|
||||||
# via coreapi
|
# via coreapi
|
||||||
cryptography==37.0.2
|
cryptography==3.4.8
|
||||||
# via pyjwt
|
# via
|
||||||
|
# -r requirements.in
|
||||||
|
# pyjwt
|
||||||
cssselect2==0.6.0
|
cssselect2==0.6.0
|
||||||
# via weasyprint
|
# via weasyprint
|
||||||
defusedxml==0.7.1
|
defusedxml==0.7.1
|
||||||
|
Loading…
Reference in New Issue
Block a user