Release again for o1
[ric-plt/o1.git] / Dockerfile
index 52df771..96c782d 100755 (executable)
@@ -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 && \
@@ -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 && \