From 4e0cbe0dcb64cc90621fc22b57783aaaca475c38 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Sat, 14 Mar 2020 15:16:48 +0100 Subject: [PATCH] Re-add CKAN DP X509_STORE_CTX wrapper hackfix --- lxc-apps/ckan/ckan-datapusher.image | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lxc-apps/ckan/ckan-datapusher.image b/lxc-apps/ckan/ckan-datapusher.image index 6d68763..6e58a7c 100644 --- a/lxc-apps/ckan/ckan-datapusher.image +++ b/lxc-apps/ckan/ckan-datapusher.image @@ -13,9 +13,13 @@ RUN EOF cd /srv/ckan-datapusher pip install -U setuptools pip install -e 'git+https://github.com/ckan/datapusher.git@e662e3c33e069ac174cdb4fb1d61121f0ba4bb3a#egg=datapusher' + + # Hackfix the X509_STORE_CTX wrapper + sed -i 's/\[security\]//' /srv/ckan-datapusher/src/datapusher/requirements.txt pip install -r /srv/ckan-datapusher/src/datapusher/requirements.txt # Hackfix werkzeug==1.0.0 proxy_fix import + # https://github.com/ckan/ckan-service-provider/pull/49 sed -i 's/werkzeug\.contrib\.fixers/werkzeug.middleware.proxy_fix/' /usr/lib/python2.7/site-packages/ckanserviceprovider/web.py # Create OS user