update base images

- debian: bullseye -> bookworm
- ubuntu:  20.04 -> 22.04
- ruby: 2.7 -> 3.0
This commit is contained in:
chandi 2024-01-07 23:48:34 +01:00
parent 4216d36eb8
commit 72bd71c8bf
8 changed files with 11 additions and 11 deletions

View File

@ -185,7 +185,7 @@ services:
- src-playback=./repos/bbb-playback - src-playback=./repos/bbb-playback
args: args:
BBB_BUILD_TAG: {{ .Env.BBB_BUILD_TAG }} BBB_BUILD_TAG: {{ .Env.BBB_BUILD_TAG }}
image: alangecker/bbb-docker-nginx:1.23-{{ .Env.TAG_PLAYBACK }}-{{ .Env.TAG_BBB }} image: alangecker/bbb-docker-nginx:1.25-{{ .Env.TAG_PLAYBACK }}-{{ .Env.TAG_BBB }}
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
- etherpad - etherpad

View File

@ -1,4 +1,4 @@
FROM node:18-bullseye-slim AS builder FROM node:18-bookworm-slim AS builder
COPY --from=src / /bbb-pads COPY --from=src / /bbb-pads
RUN cd /bbb-pads && rm -r .git && npm install --production RUN cd /bbb-pads && rm -r .git && npm install --production
@ -7,7 +7,7 @@ RUN cd /bbb-pads && rm -r .git && npm install --production
RUN chmod 777 /bbb-pads/config RUN chmod 777 /bbb-pads/config
# ------------------------------ # ------------------------------
FROM node:18-bullseye-slim FROM node:18-bookworm-slim
RUN apt update && apt install -y jq moreutils \ RUN apt update && apt install -y jq moreutils \
&& useradd --uid 2003 --create-home --user-group bbb-pads && useradd --uid 2003 --create-home --user-group bbb-pads

View File

@ -42,11 +42,11 @@ COPY --from=fs-config / /build/staging/opt/freeswitch/etc/freeswitch/
# =============================================== # ===============================================
# we are using ubuntu here, because libjpeg8 is required, but not available in debian # we are using ubuntu here, because libjpeg8 is required, but not available in debian
FROM ubuntu:20.04 FROM ubuntu:22.04
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y \ apt-get install -y \
xmlstarlet wget iptables curl \ xmlstarlet wget iptables curl \
libfreetype6 libcurl4 libspeex1 libspeexdsp1 libopus0 libsndfile1 libopusfile0 liblua5.2-0 libjbig0 libldns2 libedit2 libtiff5 libpng16-16 \ libfreetype6 libcurl4 libspeex1 libspeexdsp1 libopus0 libsndfile1 libopusfile0 liblua5.2-0 libjbig0 libldns3 libedit2 libtiff5 libpng16-16 libsqlite3-0 \
&& \ && \
# install libopusenc0 # install libopusenc0
wget -O /tmp/libopusenc0_0.2.1-1bbb2_amd64.deb https://launchpad.net/~bigbluebutton/+archive/ubuntu/support/+files/libopusenc0_0.2.1-1bbb2_amd64.deb \ wget -O /tmp/libopusenc0_0.2.1-1bbb2_amd64.deb https://launchpad.net/~bigbluebutton/+archive/ubuntu/support/+files/libopusenc0_0.2.1-1bbb2_amd64.deb \

View File

@ -23,7 +23,7 @@ RUN sed -i "s/VERSION/$TAG_BBB/" /app/bundle/programs/web.browser/head.html \
# ------------------------------ # ------------------------------
FROM node:14.21-bullseye-slim FROM node:18-bookworm-slim
RUN apt-get update && apt-get install -y gosu RUN apt-get update && apt-get install -y gosu

View File

@ -1,4 +1,4 @@
FROM debian:bullseye-slim FROM debian:bookworm-slim
# -- install docker cli # -- install docker cli
COPY --from=library/docker:latest /usr/local/bin/docker /usr/bin/docker COPY --from=library/docker:latest /usr/local/bin/docker /usr/bin/docker

View File

@ -1,5 +1,5 @@
FROM ruby:2.7-slim-bullseye FROM ruby:3.0-slim-bullseye
# install apt dependencies # install apt dependencies
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \

View File

@ -1,4 +1,4 @@
FROM node:18-bullseye-slim AS builder FROM node:18-bookworm-slim AS builder
RUN apt-get update && apt-get install -y git wget RUN apt-get update && apt-get install -y git wget
@ -12,7 +12,7 @@ RUN cd /bbb-webhooks && npm install --production
RUN chmod 777 /bbb-webhooks/config RUN chmod 777 /bbb-webhooks/config
# ------------------------------ # ------------------------------
FROM node:18-bullseye-slim FROM node:18-bookworm-slim
RUN useradd --uid 2004 --user-group bbb-webhooks RUN useradd --uid 2004 --user-group bbb-webhooks
COPY --from=builder /usr/bin/yq /usr/bin/yq COPY --from=builder /usr/bin/yq /usr/bin/yq

View File

@ -18,7 +18,7 @@ RUN cd /app \
# ============================= # =============================
FROM node:18-bullseye-slim FROM node:18-bookworm-slim
RUN useradd --uid 2004 --user-group webrtc-sfu RUN useradd --uid 2004 --user-group webrtc-sfu
ENV NODE_ENV production ENV NODE_ENV production