core: update base image to Debian Buster

pull/852/head
Saúl Ibarra Corretgé 5 years ago
parent ba011900fb
commit 880b9b0e91
  1. 2
      Makefile
  2. 5
      base-java/Dockerfile
  3. 8
      base/Dockerfile
  4. 19
      prosody/Dockerfile

@ -33,7 +33,7 @@ clean:
docker network prune
prepare:
docker pull debian:stretch-slim
docker pull debian:buster-slim
FORCE_REBUILD=1 $(MAKE)
.PHONY: all build tag push clean prepare release

@ -3,7 +3,8 @@ FROM ${JITSI_REPO}/base
RUN \
mkdir -p /usr/share/man/man1 && \
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \
echo "deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main" > /etc/apt/sources.list.d/openjdk.list && \
apt-dpkg-wrap apt-get update && \
apt-dpkg-wrap apt-get install -y openjdk-8-jre-headless && \
apt-dpkg-wrap apt-get install -y adoptopenjdk-8-hotspot-jre && \
apt-cleanup

@ -1,4 +1,4 @@
FROM debian:stretch-slim
FROM debian:buster-slim
ARG JITSI_RELEASE=stable
ARG FREP_VERSION=1.3.11
@ -9,14 +9,12 @@ COPY rootfs /
RUN \
apt-dpkg-wrap apt-get update && \
apt-dpkg-wrap apt-get install -y apt-transport-https apt-utils ca-certificates gnupg && \
apt-dpkg-wrap apt-get install -y wget && \
apt-dpkg-wrap apt-get install -y apt-transport-https apt-utils ca-certificates gnupg wget && \
wget -qO - https://github.com/just-containers/s6-overlay/releases/download/v1.22.1.0/s6-overlay-amd64.tar.gz | tar xfz - -C / && \
wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | apt-key add - && \
wget -q https://github.com/subchen/frep/releases/download/v$FREP_VERSION/frep-$FREP_VERSION-linux-amd64 -O /usr/bin/frep && \
apt-dpkg-wrap apt-get --purge remove -y wget && \
echo "deb https://download.jitsi.org $JITSI_RELEASE/" > /etc/apt/sources.list.d/jitsi.list && \
echo "deb http://ftp.debian.org/debian stretch-backports main" > /etc/apt/sources.list.d/backports.list && \
echo "deb http://ftp.debian.org/debian buster-backports main" > /etc/apt/sources.list.d/backports.list && \
apt-dpkg-wrap apt-get update && \
apt-dpkg-wrap apt-get dist-upgrade -y && \
apt-cleanup && \

@ -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

Loading…
Cancel
Save