Dockerfile 1.1 KB

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