Fix CKAN service provider instead
This commit is contained in:
parent
157a0b8660
commit
e02fc0f97d
@ -13,11 +13,11 @@ RUN EOF
|
|||||||
cd /srv/ckan-datapusher
|
cd /srv/ckan-datapusher
|
||||||
pip install -U setuptools
|
pip install -U setuptools
|
||||||
pip install -e 'git+https://github.com/ckan/datapusher.git@e662e3c33e069ac174cdb4fb1d61121f0ba4bb3a#egg=datapusher'
|
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
|
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
|
# Create OS user
|
||||||
addgroup -S -g 8080 ckandp
|
addgroup -S -g 8080 ckandp
|
||||||
adduser -S -u 8080 -h /srv/ckan-datapusher -s /bin/false -g ckandp -G ckandp ckandp
|
adduser -S -u 8080 -h /srv/ckan-datapusher -s /bin/false -g ckandp -G ckandp ckandp
|
||||||
|
Loading…
Reference in New Issue
Block a user