Better handle jitsi versions

This commit is contained in:
Quentin 2020-09-12 11:15:07 +02:00
parent c4a6cf1534
commit 5337be94df
6 changed files with 21 additions and 32 deletions

View file

@ -33,6 +33,7 @@ services:
context: ./jitsi-meet context: ./jitsi-meet
args: args:
# https://github.com/jitsi/jitsi-meet # https://github.com/jitsi/jitsi-meet
PREFIXV: stable/jitsi-meet_
VERSION: 4966 VERSION: 4966
image: superboum/amd64_jitsi_meet:v1 image: superboum/amd64_jitsi_meet:v1
@ -41,6 +42,7 @@ services:
context: ./jitsi-conference-focus context: ./jitsi-conference-focus
args: args:
# https://github.com/jitsi/jicofo # https://github.com/jitsi/jicofo
PREFIXV: stable/jitsi-meet_
VERSION: 4966 VERSION: 4966
image: superboum/amd64_jitsi_conference_focus:v3 image: superboum/amd64_jitsi_conference_focus:v3
@ -49,6 +51,7 @@ services:
context: ./jitsi-videobridge context: ./jitsi-videobridge
args: args:
# https://github.com/jitsi/jitsi-videobridge # https://github.com/jitsi/jitsi-videobridge
PREFIXV: stable/jitsi-meet_
VERSION: 4966 VERSION: 4966
image: superboum/amd64_jitsi_videobridge:v10 image: superboum/amd64_jitsi_videobridge:v10

View file

@ -1,9 +1,10 @@
FROM debian:buster AS builder FROM debian:buster AS builder
#ENV VERSION=4510 ARG PREFIXV
ARG VERSION
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y openjdk-11-jdk maven wget unzip && \ apt-get install -y openjdk-11-jdk maven wget unzip && \
wget https://github.com/jitsi/jicofo/archive/jitsi-meet_${VERSION}.zip -O jicofo.zip && \ wget https://github.com/jitsi/jicofo/archive/${PREFIXV}${VERSION}.zip -O jicofo.zip && \
unzip jicofo.zip && \ unzip jicofo.zip && \
mv jicofo-jitsi-meet_${VERSION} jicofo && \ mv jicofo-jitsi-meet_${VERSION} jicofo && \
cd jicofo && \ cd jicofo && \

View file

@ -1,20 +1,15 @@
FROM debian:buster AS builder FROM debian:buster AS builder
#ENV VERSION=4048 ARG PREFIXV
ARG VERSION
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y npm git nodejs make wget unzip && \ apt-get install -y npm git nodejs make wget unzip && \
wget https://github.com/jitsi/jitsi-meet/archive/${VERSION}.zip -O jitsi-meet.zip && \ wget https://github.com/jitsi/jitsi-meet/archive/${PREFIXV}${VERSION}.zip -O jitsi-meet.zip && \
unzip jitsi-meet.zip && \ unzip jitsi-meet.zip && \
mv jitsi-meet-${VERSION} jitsi-meet && \ mv jitsi-meet-${VERSION} jitsi-meet && \
cd jitsi-meet && \ cd jitsi-meet && \
npm install && \ npm install && \
make && \ make
sed -i \
"s/OPTIMAL_BROWSERS: \[.*\],/ OPTIMAL_BROWSERS: [ 'chrome', 'chromium', 'nwjs', 'electron' ],/g" \
interface_config.js && \
sed -i \
"s/UNSUPPORTED_BROWSERS: \[.*\],/ UNSUPPORTED_BROWSERS: [ 'firefox' ],/g" \
interface_config.js
FROM debian:buster FROM debian:buster

View file

@ -1,10 +1,11 @@
FROM debian:buster AS builder FROM debian:buster AS builder
RUN apt-get update && \ ARG PREFIXV
apt-get install -y wget unzip maven openjdk-11-jdk ARG VERSION
#ENV VERSION=4468 RUN apt-get update && \
RUN wget https://github.com/jitsi/jitsi-videobridge/archive/stable/jitsi-meet_${VERSION}.zip -O jvb.zip && \ apt-get install -y wget unzip maven openjdk-11-jdk && \
wget https://github.com/jitsi/jitsi-videobridge/archive/${PREFIXV}${VERSION}.zip -O jvb.zip && \
unzip jvb.zip && \ unzip jvb.zip && \
mv jitsi-videobridge-stable-jitsi-meet_${VERSION} jvb && \ mv jitsi-videobridge-stable-jitsi-meet_${VERSION} jvb && \
cd jvb && \ cd jvb && \

View file

@ -1,7 +1,7 @@
version: '3' version: '3'
services: services:
jitsi-xmpp: jitsi-xmpp:
build: ./jitsi-xmpp image: ./jitsi-xmpp
command: ["/usr/local/bin/xmpp_gen"] command: ["/usr/local/bin/xmpp_gen"]
volumes: [ './jitsi-certs/:/certs:rw' ] volumes: [ './jitsi-certs/:/certs:rw' ]
env_file: [ 'dev.env' ] env_file: [ 'dev.env' ]

View file

@ -1,8 +1,7 @@
version: '3.4' version: '3.4'
services: services:
jitsi-xmpp: jitsi-xmpp:
build: ./jitsi-xmpp image: superboum/amd64_jitsi_xmpp:v2
image: superboum/amd64_jitsi_xmpp:v1
network_mode: host network_mode: host
ports: ports:
- "5222:5222" - "5222:5222"
@ -10,28 +9,18 @@ services:
- "5280:5280" - "5280:5280"
env_file: [ 'dev.env' ] env_file: [ 'dev.env' ]
volumes: [ './jitsi-certs/:/certs:ro' ] volumes: [ './jitsi-certs/:/certs:ro' ]
jitsi-front: jitsi-meet:
build: image: superboum/amd64_jitsi_meet:v1
context: ./jitsi-front
network: host
#^-- I have some DNS problems on Fedora 32 in Docker
image: superboum/amd64_jitsi_front:v5
ports: ports:
- "443:443" - "443:443"
env_file: [ 'dev.env' ] env_file: [ 'dev.env' ]
volumes: [ './jitsi-certs/:/certs:ro' ] volumes: [ './jitsi-certs/:/certs:ro' ]
jitsi-conference-focus: jitsi-conference-focus:
build: image: superboum/amd64_jitsi_conference_focus:v3
context: ./jitsi-conference-focus
network: host
image: superboum/amd64_jitsi_conference_focus:v2
env_file: [ 'dev.env' ] env_file: [ 'dev.env' ]
volumes: [ './jitsi-certs/:/certs:ro' ] volumes: [ './jitsi-certs/:/certs:ro' ]
jitsi-videobridge: jitsi-videobridge:
build: image: superboum/amd64_jitsi_videobridge:v10
context: ./jitsi-videobridge
network: host
image: superboum/amd64_jitsi_videobridge:v9
network_mode: host network_mode: host
ports: ports:
- "8080:8080/tcp" - "8080:8080/tcp"