X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Dockerfile;fp=Dockerfile;h=96c782dc273ccd76af71a303dd9b92f1d94f1130;hb=5d511acf0891b1cacf9ceeffd9863f7f889265a8;hp=52df77194c79a8fea9b2a67437d349f99873855d;hpb=f018c3562b67fd4f7e74c9d8fe6e08db69d2a1b5;p=ric-plt%2Fo1.git diff --git a/Dockerfile b/Dockerfile index 52df771..96c782d 100755 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \