Git Product home page Git Product logo

freeswitch_docker_file's Introduction

freeswitch_docker_file

最新测试,ok,修改了apt源。点击查看教程

运行 docker build -t myimage:latest .

因为国内网络问题,因此我做了改动,将源改为国内阿里云。 如果你是华为云,你就替换成华为云的源,同理腾讯云的源。

RUN sed -i 's/http://deb.debian.org/http://mirrors.aliyun.com/g' /etc/apt/sources.list

做对应的替换。

最新更新,最新fs和spandsp代码有冲突,修改了 dockerfile。

freeswitch_docker_file's People

Contributors

laoyin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

freeswitch_docker_file's Issues

dockerfile 执行到最后一个make报错

120.2 make[4]: *** [Makefile:770: mod_spandsp_la-mod_spandsp_dsp.lo] Error 1
120.2 make[4]: Leaving directory '/usr/src/freeswitch/src/mod/applications/mod_spandsp'
120.2 make[3]: *** [Makefile:728: mod_spandsp-all] Error 1
120.2 make[3]: *** Waiting for unfinished jobs....
120.2 CC mod_conference_la-conference_utils.lo
120.3 CC mod_conference_la-conference_file.lo
120.7 CC libsofiamod_la-sofia.lo
120.7 CC mod_conference_la-conference_record.lo
120.8 CC test/test_image-test_image.o
121.3 CCLD libmodconference.la
121.4 CCLD mod_conference.la
121.7 CCLD test/test_member
122.1 CCLD test/test_image
122.3 CC libsofiamod_la-sofia_json_api.lo
122.3 CC test/test_mod_lua-test_mod_lua.o
122.6 make[4]: Leaving directory '/usr/src/freeswitch/src/mod/applications/mod_conference'
122.6 CXXLD libluamod.la
122.8 CC libsofiamod_la-sofia_glue.lo
122.8 CXXLD mod_lua.la
123.2 CC libsofiamod_la-sofia_presence.lo
123.5 CCLD test/test_mod_lua
124.1 make[4]: Leaving directory '/usr/src/freeswitch/src/mod/languages/mod_lua'
124.1 CC libsofiamod_la-sofia_reg.lo
125.5 CC libsofiamod_la-sofia_media.lo
125.9 CC libsofiamod_la-sip-dig.lo
126.2 CC libsofiamod_la-rtp.lo
126.8 CC test/test_nuafail-test_nuafail.o
126.9 CC test/sipp_based_tests-sipp-based-tests.o
127.0 CC test/test_sofia_funcs-test_sofia_funcs.o
131.8 CCLD libsofiamod.la
132.0 CCLD mod_sofia.la
132.0 CCLD test/test_sofia_funcs
132.0 CCLD test/test_nuafail
132.0 CCLD test/sipp-based-tests
132.6 make[4]: Leaving directory '/usr/src/freeswitch/src/mod/endpoints/mod_sofia'
132.6 make[3]: Leaving directory '/usr/src/freeswitch/src/mod'
132.6 make[2]: *** [Makefile:630: all-recursive] Error 1
132.6 make[2]: Leaving directory '/usr/src/freeswitch/src'
132.6 make[1]: *** [Makefile:3715: all-recursive] Error 1
132.6 make[1]: Leaving directory '/usr/src/freeswitch'
132.6 make: *** [Makefile:1437: all] Error 2

Dockerfile:54

52 | RUN cd /usr/src/freeswitch && ./bootstrap.sh -j

53 | RUN cd /usr/src/freeswitch && ./configure

54 | >>> RUN cd /usr/src/freeswitch && make -jnproc && make install

55 |

56 | # Cleanup the image


ERROR: failed to solve: process "/bin/sh -c cd /usr/src/freeswitch && make -jnproc && make install" did not complete successfully: exit code: 2

放上来的错误日志中上面关于spandsp有报错了,现在用Debian10 单独执行命令,看看是不也是spandsp这里出错。

mac 执行安装提示操作

ERROR [12/18] RUN cd /usr/src/libs/spandsp && ./bootstrap.sh && ./configure CFLAGS="-g -ggdb" --with-pic --prefix=/usr && make -j`nproc 1.9s


[12/18] RUN cd /usr/src/libs/spandsp && ./bootstrap.sh && ./configure CFLAGS="-g -ggdb" --with-pic --prefix=/usr && make -jnproc --all && make install:
#15 0.184 mkdir: cannot create directory 'config': File exists
#15 1.840 configure.ac:21: error: Autoconf version 2.71 or higher is required
#15 1.840 configure.ac:21: the top level
#15 1.841 autom4te: /usr/bin/m4 failed with exit status: 63
#15 1.844 aclocal: error: /usr/bin/autom4te failed with exit status: 63
#15 1.852 autoreconf: aclocal failed with exit status: 63
#15 1.855 /bin/sh: 1: ./configure: not found

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.