canyanio / janus-gateway-docker

Docker image for the Janus WebRTC Server
Other
160 stars 64 forks source link

docker build crashing at Step 6/41 #15

Open pleymor opened 3 years ago

pleymor commented 3 years ago

Hello,

there is the issue I get when attempting to build this docker image myself:

sh: 0: cannot open autogen.sh: No such file

$ docker build -t my-janus-gateway:1.0.0 .

...

Step 5/41 : COPY . /usr/local/src/janus-gateway
 ---> 4163269232c9
Step 6/41 : RUN cd /usr/local/src/janus-gateway &&  sh autogen.sh &&    ./configure --prefix=/usr/local &&  make &&     make install &&     make configs
 ---> Running in 6f1117925bc1
sh: 0: cannot open autogen.sh: No such file
The command '/bin/sh -c cd /usr/local/src/janus-gateway &&  sh autogen.sh &&    ./configure --prefix=/usr/local &&  make &&     make install &&     make configs' returned a non-zero code: 2
Symbiatch commented 3 years ago

I was also wondering about where it gets the actual Janus source since it doesn't clone it at any point. I assume it needs the source manually cloned before running the build step.

Would be nice if the image was updated to latest version from Meetecho so wouldn't need to try to build myself. Will check by manually cloning and report my findings.

maxxpower007 commented 3 years ago

libnice is no longer using autogen, it now needs meson to compile.

You need the later version of meson (.54+) so I am not if you can just add it to apt-get command or if you need to get it from git.

You are right about the Janus source.. It should also come from git.

uniuuu commented 2 years ago

@Symbiatch @maxxpower007 @pleymor @cameronelliott it's duplicated by https://github.com/canyanio/janus-gateway-docker/issues/21

uniuuu commented 2 years ago

@Symbiatch @maxxpower007 @pleymor @cameronelliott @jxs made pull request with the fix https://github.com/canyanio/janus-gateway-docker/pull/27