Install current version of jsonschema in CI
The build-unit-test-docker.sh script currently installs the jsonschema
Python package using apt-get. This installs a fairly old version.
Change build-unit-test-docker.sh to use 'pip install' and 'pip3 install'
to install the current version of jsonschema instead.
Testing:
* Ran CI interactively and verified current version of jsonschema
installed.
* Ran CI on phosphor-logging repository and verified tests passed.
* Ran CI on phosphor-power repository and verified tests passed.
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: Id47a7c072763d5066f0ca18668ea942b5139454b
diff --git a/build-unit-test-docker.sh b/build-unit-test-docker.sh
index 1c8f25f..40c31d7 100755
--- a/build-unit-test-docker.sh
+++ b/build-unit-test-docker.sh
@@ -195,7 +195,6 @@
python-pip \
python-setuptools \
python-socks \
- python-jsonschema \
python3 \
python3-dev\
python3-yaml \
@@ -252,7 +251,9 @@
RUN pip install inflection
RUN pip install pycodestyle
+RUN pip install jsonschema
RUN pip3 install inflection
+RUN pip3 install jsonschema
RUN pip3 install meson==0.53.2
FROM openbmc-base as openbmc-lcov