- Coturn
- Janus
- Nginx
gjovanov / docker Goto Github PK
View Code? Open in Web Editor NEWDocker images of useful services
Docker images of useful services
Hi @gjovanov,
I am trying to build a docker image upgrading the Janus version and a couple of dependencies. For which I forked this repo. But I was getting an error during Install libsrtp (Secure Real-time Transport Protocol)
step, line no 40 in docker file.
To double-check I directly tried your repo with the below command and the error was the same.
sudo docker build https://github.com/gjovanov/docker.git#master:janus/janus-slim
Below was the error:
Making install in examples
make[1]: Entering directory '/libnice/examples'
make[2]: Entering directory '/libnice/examples'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/libnice/examples'
make[1]: Leaving directory '/libnice/examples'
make[1]: Entering directory '/libnice'
make[2]: Entering directory '/libnice'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/libnice'
make[1]: Leaving directory '/libnice'
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libsrtp0-dev
The command '/bin/sh -c rm -rf /var/lib/apt/lists/* && apt-get -y update && apt-get install -yq apt-utils && apt-get install -yq libssl-dev pkg-config gengetopt libtool automake autotools-dev build-essential git cmake autoconf gtk-doc-tools libgnutls28-dev libglib2.0-dev && cd / && git clone https://gitlab.freedesktop.org/libnice/libnice && cd libnice && git checkout ${LIBNICE_VERSION} && ./autogen.sh && ./configure --prefix=/opt/deps && make && make install && apt-get remove -y libsrtp0-dev && cd / && git clone https://github.com/cisco/libsrtp.git && cd libsrtp && git checkout ${LIBSRTP_VERSION} && ./configure --prefix=/opt/deps --enable-openssl && make shared_library && make install && cd / && git clone https://github.com/warmcat/libwebsockets.git && cd libwebsockets && git checkout ${LIBWEBSOCKETS_VERSION} && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/deps -DCMAKE_C_FLAGS="-fpic" -DLWS_MAX_SMP=1 -DLWS_IPV6="ON" .. && make && make install && cd / && git clone https://github.com/sctplab/usrsctp && cd usrsctp && git checkout origin/master && git reset --hard 1c9c82fbe3582ed7c474ba4326e5929d12584005 && ./bootstrap && ./configure --prefix=/opt/deps --disable-warnings-as-errors && make && make install' returned a non-zero code: 100
I think that line no 40 is not needed. So I removed in my repo and retired. But then it stuck at another point ahead with the below error:
-- Installing: /opt/deps/share/libwebsockets-test-server/lws-common.js
-- Installing: /opt/deps/share/libwebsockets-test-server/test.html
-- Installing: /opt/deps/share/libwebsockets-test-server/test.css
-- Installing: /opt/deps/share/libwebsockets-test-server/test.js
-- Installing: /opt/deps/share/libwebsockets-test-server/private/index.html
-- Installing: /opt/deps/share/libwebsockets-test-server/lws-ssh-test-keys
-- Installing: /opt/deps/share/libwebsockets-test-server/lws-ssh-test-keys.pub
-- Installing: /opt/deps/lib/cmake/libwebsockets/LibwebsocketsConfig.cmake
-- Installing: /opt/deps/lib/cmake/libwebsockets/LibwebsocketsConfigVersion.cmake
-- Installing: /opt/deps/lib/cmake/libwebsockets/LibwebsocketsTargets.cmake
-- Installing: /opt/deps/lib/cmake/libwebsockets/LibwebsocketsTargets-noconfig.cmake
make: *** No rule to make target 'FROM'. Stop.
The command '/bin/sh -c rm -rf /var/lib/apt/lists/* && apt-get -y update && apt-get install -yq apt-utils && apt-get install -yq libssl-dev pkg-config gengetopt libtool automake autotools-dev build-essential git cmake autoconf gtk-doc-tools libgnutls28-dev libglib2.0-dev && cd / && git clone https://gitlab.freedesktop.org/libnice/libnice && cd libnice && git checkout ${LIBNICE_VERSION} && ./autogen.sh && ./configure --prefix=/opt/deps && make && make install && cd / && git clone https://github.com/cisco/libsrtp.git && cd libsrtp && git checkout ${LIBSRTP_VERSION} && ./configure --prefix=/opt/deps --enable-openssl && make shared_library && make install && cd / && git clone https://github.com/warmcat/libwebsockets.git && cd libwebsockets && git checkout ${LIBWEBSOCKETS_VERSION} && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/deps -DCMAKE_C_FLAGS="-fpic" -DLWS_MAX_SMP=1 -DLWS_IPV6="ON" .. && make && make install FROM debian@sha256:1b8a66f829a3563f98f941f4e0e2ecc619ad12f22331d297d2a9d1e2f18dc257' returned a non-zero code: 2
Could you help to get this moving?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.