Hi,
This problem has been fixed this morning.
It was caused by the fact that GCC 4.8 (the default on Centos7) doesn't support all the features of C++11, especially the std::regex class.
The last RPM packages have been built by GCC 8 to fix this issue.
Best regards, --
François Grisez
Software Engineer
Belledonne Communications
On dimanche 23 février 2020 16:22:29 CET Lai Li wrote:
Hi,
I am trying to build docker image from Dockerfile
I get the latest Dockerfile from gitlab and do some modifications. (use centos:7 and remove yum-downloadonly)
below is the build log. it shows the error in "RUN flexisip --dump-default all > /etc/flexisip/flexisip.conf"
Do you know how to solve this?
➜ flexisip git:(master) ✗ docker build -f docker/Dockerfile . Sending build context to Docker daemon 1.324GB Step 1/22 : FROM centos:7 ---> 5e35e350aded Step 2/22 : MAINTAINER Jehan Monnier <address@hidden> ---> Using cache ---> b34ca7440bac Step 3/22 : COPY docker/Belledonne.repo /etc/yum.repos.d/Belledonne.repo ---> Using cache ---> 68a12bea1165 Step 4/22 : RUN yum -y install epel-release gdb ---> Using cache ---> cc70cc9b266d Step 5/22 : RUN yum update -y ---> Using cache ---> a37f37cca1f8 Step 6/22 : RUN yum install -y --downloadonly --downloaddir=/opt bc-flexisip bc-flexisip-debuginfo bc-flexisip-jwe-auth-plugin ---> Using cache ---> e5bd55507aec Step 7/22 : RUN mv /opt/bc-flexisip*.rpm /tmp ---> Using cache ---> f3442f697884 Step 8/22 : RUN rpm -i /opt/*.rpm ---> Using cache ---> a662de1c9ff7 Step 9/22 : RUN rpm -i --noscripts /tmp/bc-flexisip*.rpm ---> Using cache ---> 8635c0416e2b Step 10/22 : RUN rm /opt/*.rpm ---> Using cache ---> 6ff5a4163c1f Step 11/22 : ENV PATH=$PATH:/opt/belledonne-communications/bin ---> Using cache ---> 754740843d99 Step 12/22 : WORKDIR /opt/belledonne-communications ---> Using cache ---> e92cdfad9261 Step 13/22 : RUN flexisip --dump-default all > /etc/flexisip/flexisip.conf ---> Running in a93d3e0d78ac terminate called after throwing an instance of 'std::regex_error' what(): regex_error /bin/sh: line 1: 6 Aborted flexisip --dump-default all > /etc/flexisip/flexisip.conf The command '/bin/sh -c flexisip --dump-default all > /etc/flexisip/flexisip.conf' returned a non-zero code: 134
|