add NODE_MAJOR_VERSION as argument of jitsi-meet container instead of hard-coded

This commit is contained in:
ADRN 2024-09-12 19:12:34 +02:00
parent 64195db879
commit 9742ec34da
2 changed files with 3 additions and 1 deletions

View file

@ -7,6 +7,7 @@ services:
args: args:
# https://github.com/jitsi/jitsi-meet # https://github.com/jitsi/jitsi-meet
MEET_TAG: stable/jitsi-meet_9646 MEET_TAG: stable/jitsi-meet_9646
NODE_MAJOR_VERSION: 22
image: superboum/amd64_jitsi_meet:v7 image: superboum/amd64_jitsi_meet:v7
jitsi-conference-focus: jitsi-conference-focus:

View file

@ -1,8 +1,9 @@
FROM debian:bookworm AS builder FROM debian:bookworm AS builder
ARG NODE_MAJOR_VERSION
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y curl && \ 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 apt-get install -y git nodejs make git unzip
ARG MEET_TAG ARG MEET_TAG