From 29b4c23f5a547508d83947ecd11a2ab998c66b61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Tue, 15 Mar 2022 23:25:15 +0100 Subject: [PATCH] prosody: use a more recent version of luarocks --- prosody/Dockerfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/prosody/Dockerfile b/prosody/Dockerfile index 85f8f3a..4de2cd8 100644 --- a/prosody/Dockerfile +++ b/prosody/Dockerfile @@ -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