Dockerfile 1.4 KB

1234567891011121314151617181920212223242526272829303132
  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=121.0.6167.85
  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" jibri libgl1-mesa-dri procps jitsi-upload-integrations jitsi-autoscaler-sidecar jq pulseaudio dbus dbus-x11 rtkit unzip fonts-noto && \
  16. /usr/bin/install-chrome.sh && \
  17. apt-cleanup && \
  18. adduser jibri rtkit && \
  19. dpkgArch="$(dpkg --print-architecture)" && \
  20. case "${dpkgArch##*-}" in \
  21. "amd64") SC_ARCH=x86_64 ;; \
  22. "arm64") SC_ARCH=aarch64 ;; \
  23. *) echo "unsupported architecture"; exit 1 ;; \
  24. esac && \
  25. wget -qO /usr/bin/shm-check https://github.com/saghul/shm-check/releases/download/v1.0.0/shm-check-${SC_ARCH} && \
  26. chmod +x /usr/bin/shm-check
  27. VOLUME /config