jitsi-deployment/prosody/Dockerfile

41 lines
1.4 KiB
Docker
Raw Normal View History

2018-03-14 10:23:13 +01:00
FROM jitsi/base
2019-02-21 08:34:41 +01:00
ADD https://raw.githubusercontent.com/jitsi/jitsi-meet/fc129d9849ca5e26245d54df6451931b6c179987/resources/prosody-plugins/token/util.lib.lua /prosody-plugins/token/util.lib.lua
ADD https://raw.githubusercontent.com/jitsi/jitsi-meet/fc129d9849ca5e26245d54df6451931b6c179987/resources/prosody-plugins/mod_token_verification.lua /prosody-plugins/mod_token_verification.lua
ADD https://raw.githubusercontent.com/jitsi/jitsi-meet/fc129d9849ca5e26245d54df6451931b6c179987/resources/prosody-plugins/mod_auth_token.lua /prosody-plugins/mod_auth_token.lua
RUN sed -i s/hook/hook_global/g /prosody-plugins/mod_auth_token.lua
2018-03-14 10:23:13 +01:00
RUN \
apt-dpkg-wrap apt-get update \
&& apt-dpkg-wrap apt-get install -t stretch-backports -y \
prosody \
liblua5.2-dev \
sasl2-bin \
libsasl2-modules-ldap \
libsasl2-dev \
libssl1.0-dev \
lua-basexx \
lua-ldap \
luarocks \
git \
gcc \
&& luarocks install cyrussasl 1.1.0-1 \
&& luarocks install lua-cjson 2.1.0-1 \
&& luarocks install luajwtjitsi 1.3-7 \
&& apt-dpkg-wrap apt-get remove -t stretch-backports -y \
git \
gcc \
luarocks \
libsasl2-dev \
libssl1.0-dev \
liblua5.2-dev \
&& apt-cleanup \
&& rm -rf /etc/prosody
2019-02-21 08:34:41 +01:00
2018-03-14 10:23:13 +01:00
COPY rootfs/ /
EXPOSE 5222 5269 5347 5280
2018-03-14 10:23:13 +01:00
VOLUME ["/config", "/prosody-plugins-custom"]