Dockerfile 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. ARG JITSI_REPO=jitsi
  2. FROM ${JITSI_REPO}/base
  3. ADD https://prosody.im/files/prosody-debian-packages.key /tmp/prosody.key
  4. RUN \
  5. apt-key add /tmp/prosody.key \
  6. && rm -f /tmp/prosody.key \
  7. && echo "deb http://packages.prosody.im/debian stretch main" > /etc/apt/sources.list.d/prosody.list \
  8. && apt-dpkg-wrap apt-get update \
  9. && apt-dpkg-wrap apt-get install -y prosody \
  10. && apt-dpkg-wrap apt-get install -t stretch-backports -y \
  11. liblua5.2-dev \
  12. sasl2-bin \
  13. libsasl2-modules-ldap \
  14. libsasl2-dev \
  15. libsssl1.0.2 \
  16. libssl1.0-dev \
  17. lua-basexx \
  18. lua-ldap \
  19. lua-sec \
  20. luarocks \
  21. git \
  22. gcc \
  23. patch \
  24. && luarocks install cyrussasl 1.1.0-1 \
  25. && luarocks install lua-cjson 2.1.0-1 \
  26. && luarocks install luajwtjitsi 1.3-7 \
  27. && luarocks install net-url 0.9-1 \
  28. && apt-dpkg-wrap apt-get remove -t stretch-backports -y \
  29. git \
  30. gcc \
  31. luarocks \
  32. libsasl2-dev \
  33. libssl1.0-dev \
  34. liblua5.2-dev \
  35. && apt-dpkg-wrap apt-get autoremove --purge -y \
  36. && apt-cleanup \
  37. && rm -rf /etc/prosody
  38. RUN \
  39. apt-dpkg-wrap apt-get update \
  40. && apt-dpkg-wrap apt-get -d install -y jitsi-meet-prosody \
  41. && dpkg -x /var/cache/apt/archives/jitsi-meet-prosody*.deb /tmp/pkg \
  42. && mv /tmp/pkg/usr/share/jitsi-meet/prosody-plugins /prosody-plugins \
  43. && apt-cleanup \
  44. && rm -rf /tmp/pkg /var/cache/apt
  45. RUN patch -d /usr/lib/prosody/modules/muc -p0 < /prosody-plugins/muc_owner_allow_kick.patch
  46. COPY rootfs/ /
  47. EXPOSE 5222 5269 5347 5280
  48. VOLUME ["/config", "/prosody-plugins-custom"]