Updating RMR version to 4.5.2
[ric-plt/o1.git] / Dockerfile
index b90c2fd..d79ae77 100755 (executable)
@@ -14,7 +14,7 @@
 #   limitations under the License.
 
 #----------------------------------------------------------
-FROM nexus3.o-ran-sc.org:10004/o-ran-sc/bldr-ubuntu18-c-go:8-u18.04 AS o1mediator-build
+FROM nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu18-c-go:1.9.0 AS o1mediator-build
 
 RUN apt-get update -y && apt-get install -y jq \
       git \
@@ -76,6 +76,15 @@ RUN \
       make install && make sr_clean && \
       ldconfig
 
+# libssh 0.8.0
+RUN \
+      cd /opt/dev && \
+      git clone https://git.libssh.org/projects/libssh.git && cd libssh && \
+      mkdir build && cd build && \
+      cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE="Release" -DWITH_ZLIB=ON -DWITH_NACL=OFF -DWITH_PCAP=OFF .. && \
+      make -j2 && \
+      make install
+
 # libnetconf2
 RUN \
       cd /opt/dev && \
@@ -98,7 +107,7 @@ RUN \
 # ======================================================================
 
 # RMR
-ARG RMRVERSION=4.0.2
+ARG RMRVERSION=4.5.2
 ARG RMRLIBURL=https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_${RMRVERSION}_amd64.deb/download.deb
 ARG RMRDEVURL=https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_${RMRVERSION}_amd64.deb/download.deb