From dcf0bdb950e526cbd59678142b28bee2e3a43fe2 Mon Sep 17 00:00:00 2001 From: Tobias Genannt Date: Fri, 10 Jun 2022 10:38:21 +0200 Subject: [PATCH] Added psycopg2 as additionnal dependency With psycopg2-binary the images doesn't work on ARM64. --- Dockerfile | 3 +++ requirements-container.txt | 1 + 2 files changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 913c15c..d02e671 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,9 @@ RUN export DEBIAN_FRONTEND=noninteractive \ build-essential \ ca-certificates \ libldap-dev \ + libpq-dev \ libsasl2-dev \ + libssl-dev \ python3-dev \ python3-pip \ python3-venv \ @@ -38,6 +40,7 @@ RUN export DEBIAN_FRONTEND=noninteractive \ --yes -qq --no-install-recommends \ ca-certificates \ curl \ + libpq5 \ openssl \ python3 \ python3-distutils \ diff --git a/requirements-container.txt b/requirements-container.txt index 1ca5ca8..6a30fcc 100644 --- a/requirements-container.txt +++ b/requirements-container.txt @@ -2,4 +2,5 @@ django-auth-ldap==4.1.0 django-storages[azure,boto3,dropbox,google,libcloud,sftp]==1.12.3 google-crc32c==1.3.0 napalm==3.4.1 +psycopg2==2.9.3 ruamel.yaml==0.17.21