From 9742ec34dae347a244dde6fd809b5fad300443a2 Mon Sep 17 00:00:00 2001 From: ADRN Date: Thu, 12 Sep 2024 19:12:34 +0200 Subject: [PATCH] add NODE_MAJOR_VERSION as argument of jitsi-meet container instead of hard-coded --- cluster/prod/app/jitsi/build/docker-compose.yml | 1 + cluster/prod/app/jitsi/build/jitsi-meet/Dockerfile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cluster/prod/app/jitsi/build/docker-compose.yml b/cluster/prod/app/jitsi/build/docker-compose.yml index d4d3b61..5c6b23c 100644 --- a/cluster/prod/app/jitsi/build/docker-compose.yml +++ b/cluster/prod/app/jitsi/build/docker-compose.yml @@ -7,6 +7,7 @@ services: args: # https://github.com/jitsi/jitsi-meet MEET_TAG: stable/jitsi-meet_9646 + NODE_MAJOR_VERSION: 22 image: superboum/amd64_jitsi_meet:v7 jitsi-conference-focus: diff --git a/cluster/prod/app/jitsi/build/jitsi-meet/Dockerfile b/cluster/prod/app/jitsi/build/jitsi-meet/Dockerfile index 85c0418..32081a2 100644 --- a/cluster/prod/app/jitsi/build/jitsi-meet/Dockerfile +++ b/cluster/prod/app/jitsi/build/jitsi-meet/Dockerfile @@ -1,8 +1,9 @@ FROM debian:bookworm AS builder +ARG NODE_MAJOR_VERSION RUN apt-get update && \ apt-get install -y curl && \ - curl -sL https://deb.nodesource.com/setup_22.x | bash - && \ + curl -sL https://deb.nodesource.com/setup_${NODE_MAJOR_VERSION}.x | bash - && \ apt-get install -y git nodejs make git unzip ARG MEET_TAG