diff options
author | ADRN <adrien@luxeylab.net> | 2024-09-12 19:12:34 +0200 |
---|---|---|
committer | ADRN <adrien@luxeylab.net> | 2024-09-12 19:12:34 +0200 |
commit | 9742ec34dae347a244dde6fd809b5fad300443a2 (patch) | |
tree | ab8233921a3ce03ee8f9a745f37f913f332e78cd /cluster/prod | |
parent | 64195db879e9ba932f1bec4a33f9c9e16c56453c (diff) | |
download | nixcfg-2024-09-12-update-jitsi.tar.gz nixcfg-2024-09-12-update-jitsi.zip |
add NODE_MAJOR_VERSION as argument of jitsi-meet container instead of hard-coded2024-09-12-update-jitsi
Diffstat (limited to 'cluster/prod')
-rw-r--r-- | cluster/prod/app/jitsi/build/docker-compose.yml | 1 | ||||
-rw-r--r-- | cluster/prod/app/jitsi/build/jitsi-meet/Dockerfile | 3 |
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 |