From 6060d05c200a74096fcbe2bc563ef5bf425f508d Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Mon, 27 Apr 2020 19:02:00 +0200 Subject: [PATCH] Fix front version --- docker/jitsi/02_run.yml | 4 ++-- docker/jitsi/jitsi-front/Dockerfile | 11 ++++++----- nomad/jitsi.hcl | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/docker/jitsi/02_run.yml b/docker/jitsi/02_run.yml index 8d0fe75..3fc0e26 100644 --- a/docker/jitsi/02_run.yml +++ b/docker/jitsi/02_run.yml @@ -13,9 +13,9 @@ services: jitsi-front: build: context: ./jitsi-front - #network: host + network: host #^-- I have some DNS problems on Fedora 32 in Docker - image: superboum/amd64_jitsi_front:v4 + image: superboum/amd64_jitsi_front:v5 ports: - "443:443" env_file: [ 'dev.env' ] diff --git a/docker/jitsi/jitsi-front/Dockerfile b/docker/jitsi/jitsi-front/Dockerfile index 62fa166..d30682c 100644 --- a/docker/jitsi/jitsi-front/Dockerfile +++ b/docker/jitsi/jitsi-front/Dockerfile @@ -1,13 +1,14 @@ FROM debian:buster AS builder +ENV VERSION=4048 RUN apt-get update && \ - apt-get install -y npm git nodejs make && \ - git clone --depth=1 https://github.com/jitsi/jitsi-meet.git && \ + apt-get install -y npm git nodejs make wget unzip && \ + wget https://github.com/jitsi/jitsi-meet/archive/${VERSION}.zip -O jitsi-meet.zip && \ + unzip jitsi-meet.zip && \ + mv jitsi-meet-${VERSION} jitsi-meet && \ cd jitsi-meet && \ npm install && \ - make - -RUN cd jitsi-meet && \ + make && \ sed -i \ "s/OPTIMAL_BROWSERS: \[.*\],/ OPTIMAL_BROWSERS: [ 'chrome', 'chromium', 'nwjs', 'electron' ],/g" \ interface_config.js && \ diff --git a/nomad/jitsi.hcl b/nomad/jitsi.hcl index b0ccb3a..e037fe1 100644 --- a/nomad/jitsi.hcl +++ b/nomad/jitsi.hcl @@ -93,7 +93,7 @@ job "jitsi" { task "front" { driver = "docker" config { - image = "superboum/amd64_jitsi_front:v4" + image = "superboum/amd64_jitsi_front:v5" network_mode = "host" port_map { https_port = 443