From: Mohamed Abukar Date: Tue, 25 Aug 2020 06:48:07 +0000 (+0300) Subject: Add required libssh version in Dockerfile X-Git-Tag: 0.5.1~13 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=d329fe51538b1a76eb105941155b1428170e352a;p=ric-plt%2Fo1.git Add required libssh version in Dockerfile Change-Id: I37c14a09ff0ce04468c4138ea76785d766efe323 Signed-off-by: Mohamed Abukar --- diff --git a/Dockerfile b/Dockerfile index b90c2fd..97b4933 100755 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \ diff --git a/container-tag.yaml b/container-tag.yaml index cfdbfb8..21544af 100644 --- a/container-tag.yaml +++ b/container-tag.yaml @@ -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