X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=integration_tests%2FDockerfile-Bombard;h=d18a649f6e094b23c3a93df5fa1e98dc16e457cf;hb=fdf050451414e1a816e343bcd56f33186a742e49;hp=61ccff40c328c3d2d2e3112d02f82142a32913e7;hpb=ad38560797907d95e992b2153e163dae3e13aa91;p=ric-plt%2Fa1.git diff --git a/integration_tests/Dockerfile-Bombard b/integration_tests/Dockerfile-Bombard index 61ccff4..d18a649 100644 --- a/integration_tests/Dockerfile-Bombard +++ b/integration_tests/Dockerfile-Bombard @@ -14,19 +14,20 @@ # See the License for the specific language governing permissions and # limitations under the License. # ================================================================================== -FROM python:3.7 +# TODO: switch to alpine once rmr apk available +FROM python3.7 -ADD bombard.py / +COPY bombard.py / -# Install RMR -RUN apt-get update && apt-get install -y gcc git cmake -RUN git clone https://gerrit.oran-osc.org/r/ric-plt/lib/rmr -WORKDIR rmr -RUN git checkout 68d09fa5028e47e763c44c30647da31e77eda64a -RUN mkdir .build; cd .build; cmake ..; make install +# copy NNG out of the CI builder nng +COPY --from=nexus3.o-ran-sc.org:10004/bldr-debian-python-nng:2-py3.7-nng1.1.1 /usr/local/lib/libnng.so /usr/local/lib/libnng.so -# Install python-rmr -RUN pip install --upgrade pip +# Installs RMr using debian package hosted at packagecloud.io +RUN wget --content-disposition https://packagecloud.io/o-ran-sc/master/packages/debian/stretch/rmr_1.0.36_amd64.deb/download.deb +RUN dpkg -i rmr_1.0.36_amd64.deb + +# Install RMr python bindings +RUN pip install --upgrade pip RUN pip install rmr==0.10.1 # rmr setups