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 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..ceadccf --- /dev/null +++ b/requirements.txt @@ -0,0 +1,17 @@ +setuptools<66.0.0 +json-spec +jsonschema==2.4.0 +requests +pytest==4.6.5 +filelock +crossrefapi +pymongo +jsonmerge==1.3.0 +funcsigs +bagit>=1.6.3,<2.0 +fs>=2.0.21 +jsonpatch +jsonpath_ng +ejsonschema @ https://github.com/usnistgov/ejsonschema/archive/master.zip +pynoid @ https://github.com/RayPlante/pynoid/archive/master.zip +multibag @ https://github.com/usnistgov/multibag-py/archive/0.3.zip diff --git a/scripts/_install-env.sh b/scripts/_install-env.sh index fb2536c..b379bad 100644 --- a/scripts/_install-env.sh +++ b/scripts/_install-env.sh @@ -12,6 +12,29 @@ true ${SOURCE_DIR:=$base} true ${INSTALL_DIR:=/usr/local} ########## +function help { + echo ${prog} -- install software from this repository + cat <