aboutsummaryrefslogtreecommitdiff
path: root/cluster
diff options
context:
space:
mode:
authorADRN <adrien@luxeylab.net>2024-09-12 19:12:34 +0200
committerADRN <adrien@luxeylab.net>2024-09-12 19:12:34 +0200
commit9742ec34dae347a244dde6fd809b5fad300443a2 (patch)
treeab8233921a3ce03ee8f9a745f37f913f332e78cd /cluster
parent64195db879e9ba932f1bec4a33f9c9e16c56453c (diff)
downloadnixcfg-9742ec34dae347a244dde6fd809b5fad300443a2.tar.gz
nixcfg-9742ec34dae347a244dde6fd809b5fad300443a2.zip
add NODE_MAJOR_VERSION as argument of jitsi-meet container instead of hard-coded2024-09-12-update-jitsi
Diffstat (limited to 'cluster')
-rw-r--r--cluster/prod/app/jitsi/build/docker-compose.yml1
-rw-r--r--cluster/prod/app/jitsi/build/jitsi-meet/Dockerfile3
2 files changed, 3 insertions, 1 deletions
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