Remove CTS psycopg2 update as it's already in upstream

This commit is contained in:
Disassembler 2018-05-10 15:19:28 +02:00
parent a4eeeed7ea
commit 85227cd335
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499

View File

@ -12,8 +12,6 @@ RUN \
apk --no-cache add --virtual .deps build-base git postgresql-dev python2-dev py2-pip zlib-dev \ apk --no-cache add --virtual .deps build-base git postgresql-dev python2-dev py2-pip zlib-dev \
# Install CTS # Install CTS
&& git clone --depth 1 https://github.com/theirc/CTS /srv/cts \ && git clone --depth 1 https://github.com/theirc/CTS /srv/cts \
# Force psycopg2 version update for compatibility with PostgreSQL 10
&& sed -i 's/psycopg2==2.5.2/psycopg2==2.7.1/' /srv/cts/requirements/base.txt \
&& pip install -r /srv/cts/requirements/production.txt \ && pip install -r /srv/cts/requirements/production.txt \
# Hackfix geos version detection # Hackfix geos version detection
&& sed -i 's/\$//' /usr/lib/python2.7/site-packages/django/contrib/gis/geos/libgeos.py \ && sed -i 's/\$//' /usr/lib/python2.7/site-packages/django/contrib/gis/geos/libgeos.py \