Code Monkey home page Code Monkey logo

docker's Introduction

Docker images of useful services

  1. Coturn
  2. Janus
  3. Nginx

docker's People

Contributors

gjovanov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker's Issues

docker build failing

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

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.