2
0

Dockerfile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ARG JITSI_REPO=jitsi
  2. ARG BASE_TAG=latest
  3. FROM ${JITSI_REPO}/base-java:${BASE_TAG}
  4. LABEL org.opencontainers.image.title="Jitsi Broadcasting Infrastructure (jibri)"
  5. LABEL org.opencontainers.image.description="Components for recording and/or streaming a conference."
  6. LABEL org.opencontainers.image.url="https://github.com/jitsi/jibri"
  7. LABEL org.opencontainers.image.source="https://github.com/jitsi/docker-jitsi-meet"
  8. LABEL org.opencontainers.image.documentation="https://jitsi.github.io/handbook/"
  9. ARG USE_CHROMIUM=0
  10. #ARG CHROME_RELEASE=latest
  11. # https://googlechromelabs.github.io/chrome-for-testing/
  12. ARG CHROME_RELEASE=126.0.6478.126
  13. COPY rootfs/ /
  14. RUN apt-dpkg-wrap apt-get update && \
  15. apt-dpkg-wrap apt-get install -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" \
  16. jibri \
  17. libgl1-mesa-dri \
  18. procps \
  19. jitsi-upload-integrations \
  20. jitsi-autoscaler-sidecar \
  21. jq \
  22. pulseaudio \
  23. dbus \
  24. dbus-x11 \
  25. rtkit \
  26. unzip \
  27. fonts-noto \
  28. fonts-noto-cjk \
  29. libcap2-bin && \
  30. /usr/bin/install-chrome.sh && \
  31. apt-cleanup && \
  32. adduser jibri rtkit && \
  33. dpkgArch="$(dpkg --print-architecture)" && \
  34. case "${dpkgArch##*-}" in \
  35. "amd64") SC_ARCH=x86_64 ;; \
  36. "arm64") SC_ARCH=aarch64 ;; \
  37. *) echo "unsupported architecture"; exit 1 ;; \
  38. esac && \
  39. wget -qO /usr/bin/shm-check https://github.com/saghul/shm-check/releases/download/v1.0.0/shm-check-${SC_ARCH} && \
  40. chmod +x /usr/bin/shm-check
  41. VOLUME /config