Explorar o código

prosody: use a more recent version of luarocks

Saúl Ibarra Corretgé %!s(int64=3) %!d(string=hai) anos
pai
achega
29b4c23
Modificáronse 1 ficheiros con 7 adicións e 2 borrados
  1. 7 2
      prosody/Dockerfile

+ 7 - 2
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