Dockerfile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. ARG JITSI_REPO=jitsi
  2. FROM ${JITSI_REPO}/base
  3. RUN \
  4. apt-dpkg-wrap apt-get update \
  5. && apt-dpkg-wrap apt-get install -t stretch-backports -y \
  6. prosody \
  7. liblua5.2-dev \
  8. sasl2-bin \
  9. libsasl2-modules-ldap \
  10. libsasl2-dev \
  11. libssl1.0-dev \
  12. lua-basexx \
  13. lua-ldap \
  14. luarocks \
  15. git \
  16. gcc \
  17. patch \
  18. && luarocks install cyrussasl 1.1.0-1 \
  19. && luarocks install lua-cjson 2.1.0-1 \
  20. && luarocks install luajwtjitsi 1.3-7 \
  21. && luarocks install net-url 0.9-1 \
  22. && apt-dpkg-wrap apt-get remove -t stretch-backports -y \
  23. git \
  24. gcc \
  25. luarocks \
  26. libsasl2-dev \
  27. libssl1.0-dev \
  28. liblua5.2-dev \
  29. && apt-cleanup \
  30. && rm -rf /etc/prosody /var/cache/apt
  31. RUN \
  32. apt-dpkg-wrap apt-get update \
  33. && apt-dpkg-wrap apt-get -d install -y jitsi-meet-tokens \
  34. && dpkg -x /var/cache/apt/archives/jitsi-meet-tokens*.deb /tmp \
  35. && mv /tmp/usr/share/jitsi-meet/prosody-plugins /prosody-plugins \
  36. && apt-cleanup \
  37. && rm -rf /tmp/usr /var/cache/apt
  38. RUN \
  39. sed -i s/hook/hook_global/g /prosody-plugins/mod_auth_token.lua \
  40. && patch -d /usr/lib/prosody/modules/muc -p0 < /prosody-plugins/muc_owner_allow_kick.patch
  41. COPY rootfs/ /
  42. EXPOSE 5222 5269 5347 5280
  43. VOLUME ["/config", "/prosody-plugins-custom"]