Release again for o1
[ric-plt/o1.git] / Dockerfile
index ad608e4..96c782d 100755 (executable)
@@ -14,7 +14,7 @@
 #   limitations under the License.
 
 #----------------------------------------------------------
-FROM nexus3.o-ran-sc.org:10004/o-ran-sc/bldr-ubuntu18-c-go:9-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 \
@@ -22,7 +22,7 @@ RUN apt-get update -y && apt-get install -y jq \
       build-essential \
       vim \
       supervisor \
-      libpcre3-dev \
+      libpcre2-dev \
       pkg-config \
       libavl-dev \
       libev-dev \
@@ -64,7 +64,6 @@ RUN \
       make -j2 && \
       make install && \
       ldconfig
-
 # sysrepo
 RUN \
       cd /opt/dev && \
@@ -107,7 +106,7 @@ RUN \
 # ======================================================================
 
 # RMR
-ARG RMRVERSION=4.4.6
+ARG RMRVERSION=4.7.4
 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
 
@@ -167,7 +166,7 @@ RUN apt-get update -y && apt-get install -y jq \
       supervisor \
       openssl \
       python-pip \
-      libpcre3-dev \
+      libpcre2-dev \
       pkg-config \
       libavl-dev \
       libev-dev \
@@ -183,6 +182,10 @@ RUN apt-get update -y && apt-get install -y jq \
 
 RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
 
+# update password policy 
+RUN \
+      sed -i 's/pam_unix.so obscure sha512/pam_unix.so obscure sha512 rounds=12000/' /etc/pam.d/common-password
+
 # add netconf user
 RUN \
       adduser --system netconf && \