From e02fc0f97d0f94c535538be8b72c320fd7357f3e Mon Sep 17 00:00:00 2001 From: Disassembler Date: Sat, 14 Mar 2020 11:10:36 +0100 Subject: [PATCH] Fix CKAN service provider instead --- lxc-apps/ckan/ckan-datapusher.image | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lxc-apps/ckan/ckan-datapusher.image b/lxc-apps/ckan/ckan-datapusher.image index be6e05c..6d68763 100644 --- a/lxc-apps/ckan/ckan-datapusher.image +++ b/lxc-apps/ckan/ckan-datapusher.image @@ -13,11 +13,11 @@ RUN EOF cd /srv/ckan-datapusher pip install -U setuptools pip install -e 'git+https://github.com/ckan/datapusher.git@e662e3c33e069ac174cdb4fb1d61121f0ba4bb3a#egg=datapusher' - - # Hackfix Flask to not install werkzeug==1.0.0 - pip install werkzeug==0.14.1 pip install -r /srv/ckan-datapusher/src/datapusher/requirements.txt + # Hackfix werkzeug==1.0.0 proxy_fix import + sed -i 's/werkzeug\.contrib\.fixers/werkzeug.middleware.proxy_fix/' /usr/lib/python2.7/site-packages/ckanserviceprovider/web.py + # Create OS user addgroup -S -g 8080 ckandp adduser -S -u 8080 -h /srv/ckan-datapusher -s /bin/false -g ckandp -G ckandp ckandp