Skip to content

Commit a0aacd4

Browse files
committed
Update psycopg2-binary dependency to avoid the "AssertionError: database connection isn’t set to UTC" error
1 parent a36137f commit a0aacd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ COPY ./manage.py /usr/local/bin/
4545

4646
RUN apt-get update && \
4747
apt-get install -y --no-install-recommends libmemcached-dev libpcre3-dev gosu gcc ca-certificates curl && \
48-
pip install --no-cache-dir social-auth-app-django "gunicorn==19.3.0" psycopg2-binary pylibmc pysolr "elasticsearch==2.4.1" && \
48+
pip install --no-cache-dir social-auth-app-django "gunicorn==19.3.0" "psycopg2-binary<2.9" pylibmc pysolr "elasticsearch==2.4.1" && \
4949
pip install --no-cache-dir /dist/*.whl && \
5050
rm -rf /dist && \
5151
adduser --system --group --shell /bin/bash wirecloud && \

0 commit comments

Comments
 (0)