Ensure RMR based health chk is in the lister image 44/3144/1 1.4.0 1.5.0
authorE. Scott Daniels <daniels@research.att.com>
Fri, 3 Apr 2020 21:06:41 +0000 (17:06 -0400)
committerE. Scott Daniels <daniels@research.att.com>
Fri, 3 Apr 2020 21:06:41 +0000 (17:06 -0400)
This change causes the RMR runtime package to be installed into the
listener container to ensure that the health check binary is
installed.

A subsequent change will need to be made to the mc-core docker
container to reference this new image (1.4.0)

Issue-ID: RIC-311

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: Iacbdec173a6283f44355f30827db9533d6e03fc9

sidecars/listener/Dockerfile
sidecars/listener/container-tag.yaml

index 861401f..a4d0bc1 100644 (file)
@@ -48,7 +48,7 @@ RUN apt-get update && apt-get install -y cmake gcc make git g++ wget
 
 WORKDIR /playpen
 # Install RMr (runtime and dev) from debian package cached on packagecloud.io
-ARG RMR_VER=3.5.1
+ARG RMR_VER=3.6.5
 
 RUN wget -nv --content-disposition https://packagecloud.io/o-ran-sc/staging/packages/debian/stretch/rmr_${RMR_VER}_amd64.deb/download.deb
 RUN wget -nv --content-disposition https://packagecloud.io/o-ran-sc/staging/packages/debian/stretch/rmr-dev_${RMR_VER}_amd64.deb/download.deb
@@ -81,6 +81,10 @@ FROM ubuntu:18.04
 RUN apt-get update; apt-get install -y ksh
 RUN rm -fr /var/lib/apt/lists 
 
+# must have rmr runtime to get health check etc
+COPY --from=buildenv /playpen/rmr_*.deb /tmp/
+RUN dpkg -i /tmp/rmr_*_amd64.deb
+
 # obtusely this uses the previous value
 ARG SRC
 
index eb30c85..bb40811 100644 (file)
@@ -1,4 +1,4 @@
 ---
-tag: '1.3.3'
+tag: '1.4.0'
 
 # this is used by CI jobs to apply a tag when it builds the image