-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Base Image need to be updated! #3
Comments
Thanks @AnotherCodeArtist, we'll update the image |
It's actually the requirements.txt file of CKAN that still uses version 1.4.2 of bleach. Here's my Dockerfile that works: MAINTAINER Open Knowledge [email protected] ENV APP_WSGI=ckan.wsgi ENV GIT_BRANCH=release-v2.5-latest ENV CKAN_INI=production.ini RUN mkdir ${WORKSPACE} ${SRC_DIR} && cd ${SRC_DIR} && #Update bleach COPY ${SETUP}/${APP_CONF} ${SUPERVISOR_DIR}/${APP_CONF} COPY ${SETUP}/dump_env.conf ${SUPERVISOR_DIR}/dump_env.conf #Create the CKAN datastore directory #Add ckan command #We need setuptools<19.4, otherwise ckanext-oauth2 can not be installed because of #Install FIWARE specific extensions Besides this you should also remove the "solr.admin.AdminHandlers" entry from solrconfig.xml, since this class no longer exists. |
We've updated the 2.5 image with the latest fixes https://hub.docker.com/r/fiware/ckan/builds/bfbmtkb6orcctmx5xofwqwc/ |
Just ran into the same error described here.
There's an incompatibility between the version of bleach and html5lib that apparently comes with your base image. It produces the following error when trying to start the CKAN container:
from html5lib.sanitizer import HTMLSanitizer Traceback (most recent call last): ImportError: No module named sanitizer
I had to log into the running container, uninstalling bleach and reinstalling it to fix this.
The text was updated successfully, but these errors were encountered: