Skip to content

Commit dcf0bdb

Browse files
committed
Added psycopg2 as additionnal dependency
With psycopg2-binary the images doesn't work on ARM64.
1 parent 9e2f431 commit dcf0bdb

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ RUN export DEBIAN_FRONTEND=noninteractive \
77
build-essential \
88
ca-certificates \
99
libldap-dev \
10+
libpq-dev \
1011
libsasl2-dev \
12+
libssl-dev \
1113
python3-dev \
1214
python3-pip \
1315
python3-venv \
@@ -38,6 +40,7 @@ RUN export DEBIAN_FRONTEND=noninteractive \
3840
--yes -qq --no-install-recommends \
3941
ca-certificates \
4042
curl \
43+
libpq5 \
4144
openssl \
4245
python3 \
4346
python3-distutils \

requirements-container.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ django-auth-ldap==4.1.0
22
django-storages[azure,boto3,dropbox,google,libcloud,sftp]==1.12.3
33
google-crc32c==1.3.0
44
napalm==3.4.1
5+
psycopg2==2.9.3
56
ruamel.yaml==0.17.21

0 commit comments

Comments
 (0)