diff --git a/docker/ejsonschema/Dockerfile b/docker/ejsonschema/Dockerfile index 95f3e11..9637153 100644 --- a/docker/ejsonschema/Dockerfile +++ b/docker/ejsonschema/Dockerfile @@ -1,16 +1,10 @@ FROM oar-metadata/jq -RUN apt-get update && apt-get install -y unzip uwsgi uwsgi-src \ - uuid-dev libcap-dev libpcre3-dev python3-distutils -RUN PYTHON=python3 uwsgi --build-plugin "/usr/src/uwsgi/plugins/python python3" && \ - mv python3_plugin.so /usr/lib/uwsgi/plugins/python3_plugin.so && \ - chmod 644 /usr/lib/uwsgi/plugins/python3_plugin.so +RUN apt-get update && apt-get install -y unzip uuid-dev libcap-dev \ + libpcre3-dev python3-distutils -RUN update-alternatives --install /usr/lib/uwsgi/plugins/python_plugin.so \ - python_plugin.so /usr/lib/uwsgi/plugins/python3_plugin.so 1 - -RUN python -m pip install "setuptools<66.0.0" -RUN python -m pip install json-spec jsonschema==2.4.0 requests \ +RUN python -m pip install "setuptools<66.0.0" +RUN python -m pip install lxml uwsgi json-spec jsonschema==2.4.0 requests \ pytest==4.6.5 filelock crossrefapi pyyaml jsonpath_ng RUN python -m pip install --no-dependencies jsonmerge==1.3.0