From 5337be94df4f79191fea244e8db4338489bc04b7 Mon Sep 17 00:00:00 2001 From: Quentin Date: Sat, 12 Sep 2020 11:15:07 +0200 Subject: Better handle jitsi versions --- app_build/jitsi-meet/Dockerfile | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'app_build/jitsi-meet') diff --git a/app_build/jitsi-meet/Dockerfile b/app_build/jitsi-meet/Dockerfile index 0d908eb..7f84d9d 100644 --- a/app_build/jitsi-meet/Dockerfile +++ b/app_build/jitsi-meet/Dockerfile @@ -1,20 +1,15 @@ FROM debian:buster AS builder -#ENV VERSION=4048 +ARG PREFIXV +ARG VERSION RUN apt-get update && \ 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 && \ mv jitsi-meet-${VERSION} jitsi-meet && \ cd jitsi-meet && \ npm install && \ - 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 + make FROM debian:buster -- cgit v1.2.3