X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Dockerfile-Unit-Test;h=6e6497d27ab1481fc86c2e12f72286a69248cba9;hb=750eb5b040db75fae264da5e422038e08e5da345;hp=4ebb3a73c9283a5d526676f30008bf0fcd8ec1a3;hpb=f9cd5cc676355485c2d9c8bc2be22ddad4874382;p=ric-plt%2Fxapp-frame-py.git diff --git a/Dockerfile-Unit-Test b/Dockerfile-Unit-Test index 4ebb3a7..6e6497d 100644 --- a/Dockerfile-Unit-Test +++ b/Dockerfile-Unit-Test @@ -14,14 +14,13 @@ # See the License for the specific language governing permissions and # limitations under the License. # ================================================================================== -FROM python:3.7-alpine +FROM python:3.8-alpine # sdl uses hiredis which needs gcc RUN apk update && apk add gcc musl-dev -# copy rmr .sos from the builder image -COPY --from=nexus3.o-ran-sc.org:10004/bldr-alpine3-go:1-rmr1.13.1 /usr/local/lib64/libnng.so /usr/local/lib64/libnng.so -COPY --from=nexus3.o-ran-sc.org:10004/bldr-alpine3-go:1-rmr1.13.1 /usr/local/lib64/librmr_nng.so /usr/local/lib64/librmr_nng.so +# copy rmr libraries from builder image in lieu of an Alpine package +COPY --from=nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-alpine3-rmr:4.1.2 /usr/local/lib64/librmr* /usr/local/lib64/ # Upgrade pip, install tox RUN pip install --upgrade pip && pip install tox @@ -29,7 +28,7 @@ RUN pip install --upgrade pip && pip install tox # copies COPY ricxappframe/ /tmp/ricxappframe COPY tests/ /tmp/tests -COPY setup.py tox.ini LICENSE.txt /tmp/ +COPY setup.py tox.ini LICENSE.txt .coveragerc /tmp/ WORKDIR /tmp # Run the unit tests