prosody: use a more recent version of luarocks

This commit is contained in:
Saúl Ibarra Corretgé 2022-03-15 23:25:15 +01:00
parent c5b049ad56
commit 29b4c23f5a

View File

@ -5,13 +5,18 @@ FROM ${JITSI_REPO}/base:${BASE_TAG} as builder
RUN apt-dpkg-wrap apt-get update && \
apt-dpkg-wrap apt-get install -y \
build-essential \
lua5.2 \
liblua5.2-dev \
libsasl2-dev \
libssl-dev \
luarocks \
libreadline-dev \
git \
gcc && \
unzip \
wget && \
mkdir /tmp/luarocks && \
wget -qO - https://luarocks.github.io/luarocks/releases/luarocks-3.8.0.tar.gz | tar xfz - --strip-components 1 -C /tmp/luarocks && \
cd /tmp/luarocks && ./configure && make && make install && cd - && \
luarocks install cyrussasl 1.1.0-1 && \
luarocks install net-url 0.9-1 && \
luarocks install luajwtjitsi 2.0-0