core: update base image to Debian Buster

This commit is contained in:
Saúl Ibarra Corretgé
2020-05-27 23:40:59 +02:00
parent ba011900fb
commit 880b9b0e91
4 changed files with 14 additions and 20 deletions

View File

@@ -8,34 +8,29 @@ RUN \
lua5.2 \
liblua5.2-dev \
libsasl2-dev \
libssl1.0-dev \
libssl-dev \
luarocks \
git \
gcc \
&& luarocks install cyrussasl 1.1.0-1 \
&& luarocks install lua-cjson 2.1.0-1 \
&& luarocks install luajwtjitsi 1.3-7 \
&& luarocks install net-url 0.9-1
&& luarocks install net-url 0.9-1 \
&& luarocks install luajwtjitsi 2.0-0
FROM ${JITSI_REPO}/base
ADD https://prosody.im/files/prosody-debian-packages.key /tmp/prosody.key
RUN \
apt-key add /tmp/prosody.key \
&& rm -f /tmp/prosody.key \
&& echo "deb http://packages.prosody.im/debian stretch main" > /etc/apt/sources.list.d/prosody.list \
wget -qO - https://prosody.im/files/prosody-debian-packages.key | apt-key add - \
&& echo "deb http://packages.prosody.im/debian buster main" > /etc/apt/sources.list.d/prosody.list \
&& apt-dpkg-wrap apt-get update \
&& apt-dpkg-wrap apt-get install -y \
prosody \
libssl1.0.2 \
libssl1.1 \
sasl2-bin \
libsasl2-modules-ldap \
lua-basexx \
patch \
&& apt-dpkg-wrap apt-get install -t stretch-backports -y \
lua-ldap \
lua-sec \
patch \
&& apt-cleanup \
&& rm -rf /etc/prosody