X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Dockerfile-Unit-Tests;h=9f54091e65a810f1eb9730bdb3e9b8233e2a2754;hb=refs%2Fchanges%2F02%2F5702%2F1;hp=dca0abc6f493d88e3a003b2c6e09aeae0de11c38;hpb=e1d5c652ff611a80b0446b555c02391e41ace0f9;p=ric-app%2Fhw.git diff --git a/Dockerfile-Unit-Tests b/Dockerfile-Unit-Tests index dca0abc..9f54091 100755 --- a/Dockerfile-Unit-Tests +++ b/Dockerfile-Unit-Tests @@ -1,7 +1,7 @@ #/* ##================================================================================== ## -## Copyright (c) 2019-2020 AT&T Intellectual Property. +## Copyright (c) 2020-2021 AT&T Intellectual Property. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. @@ -18,7 +18,7 @@ ## */ ARG SCHEMA_PATH=schemas -ARG STAGE_DIR=/tmp/helloworld-xapp +ARG STAGE_DIR=/tmp/helloworld-xapp-unittests #================================================================================== FROM nexus3.o-ran-sc.org:10001/ubuntu:18.04 as ricbuild @@ -56,7 +56,7 @@ RUN dpkg -i mdclog_${MDC_VER}_amd64.deb RUN dpkg -i mdclog-dev_${MDC_VER}_amd64.deb # Install RMr using debian package hosted at packagecloud.io -ARG RMR_VER=4.0.2 +ARG RMR_VER=4.4.6 RUN wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_${RMR_VER}_amd64.deb/download.deb RUN wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_${RMR_VER}_amd64.deb/download.deb RUN dpkg -i rmr_${RMR_VER}_amd64.deb @@ -77,6 +77,16 @@ RUN wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/pack RUN dpkg -i rnib_${RNIB_VER}_all.deb +#Install ASN1C library package hosted at packagecloud.io +ARG ASN1C_VER=1.0.0 +RUN wget --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/riclibe2ap_${ASN1C_VER}_amd64.deb/download.deb +RUN wget --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/riclibe2ap-dev_${ASN1C_VER}_amd64.deb/download.deb +RUN dpkg -i riclibe2ap_${ASN1C_VER}_amd64.deb +RUN dpkg -i riclibe2ap-dev_${ASN1C_VER}_amd64.deb + + + + ## Install SDL Libraries WORKDIR ${STAGE_DIR} RUN apt-get install -y cpputest @@ -140,6 +150,7 @@ COPY --from=ricbuild ${STAGE_DIR}/*.deb /tmp/ COPY --from=ricbuild /usr/local/lib/librmr_si* /usr/local/lib/ COPY --from=ricbuild /usr/local/lib/libgtest* /usr/local/lib/ COPY --from=ricbuild /usr/local/lib/libsdl* /usr/local/lib/ +COPY --from=ricbuild /usr/local/include/riclibe2ap /usr/local/include/ COPY --from=ricbuild /usr/local/libexec/redismodule/libredis* /usr/local/libexec/redismodule/ RUN dpkg -i /tmp/*.deb RUN apt-get update && \