X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Dockerfile-Unit-Test;h=dbb5401aef3ea3cf81548383b5e7912faed453c5;hb=9d5ad7161f64346c17e9c466bf1992e4257e9bde;hp=49df4693521cb7947eee21a762c9d71c580f2d09;hpb=a0876efd819b43b870ba2254b34676b1a03ad326;p=ric-plt%2Fa1.git diff --git a/Dockerfile-Unit-Test b/Dockerfile-Unit-Test index 49df469..dbb5401 100644 --- a/Dockerfile-Unit-Test +++ b/Dockerfile-Unit-Test @@ -17,7 +17,7 @@ # install a well known working rmr FROM python:3.7-alpine RUN apk update && apk add autoconf automake build-base cmake libtool ninja pkgconfig git -RUN git clone --branch 1.9.0 https://gerrit.o-ran-sc.org/r/ric-plt/lib/rmr \ +RUN git clone --branch 1.10.2 https://gerrit.o-ran-sc.org/r/ric-plt/lib/rmr \ && cd rmr \ && mkdir build \ && cd build \ @@ -29,11 +29,11 @@ FROM python:3.7-alpine # dir that rmr routing file temp goes into RUN mkdir -p /opt/route/ -# Gevent needs gcc; TODO: this will get fixed +# Gevent needs gcc RUN apk add gcc musl-dev -# Upgrade pip, install tox -RUN pip install --upgrade pip && pip install tox +# Upgrade pip, install tox (gevent is installed as a speed hack in local dev where tox is run many times) +RUN pip install --upgrade pip && pip install tox gevent # copies COPY --from=0 /usr/local/lib64/libnng.so /usr/local/lib64/libnng.so @@ -44,4 +44,4 @@ COPY setup.py tox.ini /tmp/ WORKDIR /tmp # Run the unit tests -RUN tox +RUN tox -e py37,flake8