Add required libssh version in Dockerfile 97/4597/3
authorMohamed Abukar <abukar.mohamed@nokia.com>
Tue, 25 Aug 2020 06:48:07 +0000 (09:48 +0300)
committerMohamed Abukar <abukar.mohamed@nokia.com>
Tue, 25 Aug 2020 18:08:20 +0000 (21:08 +0300)
Change-Id: I37c14a09ff0ce04468c4138ea76785d766efe323
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
Dockerfile
container-tag.yaml

index b90c2fd..97b4933 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:10004/o-ran-sc/bldr-ubuntu18-c-go:9-u18.04 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 && \
index cfdbfb8..21544af 100644 (file)
@@ -1,5 +1,5 @@
 # The Jenkins job requires a tag to build the Docker image.
-# By default this file is in the docker build directory,
-# but the location can configured in the JJB template.
+# By default this file is in the docker build directory, 
+# but the location can be configured in the JJB template.
 ---
-tag: 0.4.4
+tag: 0.5.0