Skip to content

Commit 880b9b0

Browse files
committed
core: update base image to Debian Buster
1 parent ba01190 commit 880b9b0

File tree

4 files changed

+14
-20
lines changed

4 files changed

+14
-20
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ clean:
3333
docker network prune
3434

3535
prepare:
36-
docker pull debian:stretch-slim
36+
docker pull debian:buster-slim
3737
FORCE_REBUILD=1 $(MAKE)
3838

3939
.PHONY: all build tag push clean prepare release

base-java/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ FROM ${JITSI_REPO}/base
33

44
RUN \
55
mkdir -p /usr/share/man/man1 && \
6+
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \
7+
echo "deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main" > /etc/apt/sources.list.d/openjdk.list && \
68
apt-dpkg-wrap apt-get update && \
7-
apt-dpkg-wrap apt-get install -y openjdk-8-jre-headless && \
9+
apt-dpkg-wrap apt-get install -y adoptopenjdk-8-hotspot-jre && \
810
apt-cleanup
9-

base/Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM debian:stretch-slim
1+
FROM debian:buster-slim
22

33
ARG JITSI_RELEASE=stable
44
ARG FREP_VERSION=1.3.11
@@ -9,14 +9,12 @@ COPY rootfs /
99

1010
RUN \
1111
apt-dpkg-wrap apt-get update && \
12-
apt-dpkg-wrap apt-get install -y apt-transport-https apt-utils ca-certificates gnupg && \
13-
apt-dpkg-wrap apt-get install -y wget && \
12+
apt-dpkg-wrap apt-get install -y apt-transport-https apt-utils ca-certificates gnupg wget && \
1413
wget -qO - https://github.com/just-containers/s6-overlay/releases/download/v1.22.1.0/s6-overlay-amd64.tar.gz | tar xfz - -C / && \
1514
wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | apt-key add - && \
1615
wget -q https://github.com/subchen/frep/releases/download/v$FREP_VERSION/frep-$FREP_VERSION-linux-amd64 -O /usr/bin/frep && \
17-
apt-dpkg-wrap apt-get --purge remove -y wget && \
1816
echo "deb https://download.jitsi.org $JITSI_RELEASE/" > /etc/apt/sources.list.d/jitsi.list && \
19-
echo "deb http://ftp.debian.org/debian stretch-backports main" > /etc/apt/sources.list.d/backports.list && \
17+
echo "deb http://ftp.debian.org/debian buster-backports main" > /etc/apt/sources.list.d/backports.list && \
2018
apt-dpkg-wrap apt-get update && \
2119
apt-dpkg-wrap apt-get dist-upgrade -y && \
2220
apt-cleanup && \

prosody/Dockerfile

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,34 +8,29 @@ RUN \
88
lua5.2 \
99
liblua5.2-dev \
1010
libsasl2-dev \
11-
libssl1.0-dev \
11+
libssl-dev \
1212
luarocks \
1313
git \
1414
gcc \
1515
&& luarocks install cyrussasl 1.1.0-1 \
16-
&& luarocks install lua-cjson 2.1.0-1 \
17-
&& luarocks install luajwtjitsi 1.3-7 \
18-
&& luarocks install net-url 0.9-1
16+
&& luarocks install net-url 0.9-1 \
17+
&& luarocks install luajwtjitsi 2.0-0
1918

2019
FROM ${JITSI_REPO}/base
2120

22-
ADD https://prosody.im/files/prosody-debian-packages.key /tmp/prosody.key
23-
2421
RUN \
25-
apt-key add /tmp/prosody.key \
26-
&& rm -f /tmp/prosody.key \
27-
&& echo "deb http://packages.prosody.im/debian stretch main" > /etc/apt/sources.list.d/prosody.list \
22+
wget -qO - https://prosody.im/files/prosody-debian-packages.key | apt-key add - \
23+
&& echo "deb http://packages.prosody.im/debian buster main" > /etc/apt/sources.list.d/prosody.list \
2824
&& apt-dpkg-wrap apt-get update \
2925
&& apt-dpkg-wrap apt-get install -y \
3026
prosody \
31-
libssl1.0.2 \
27+
libssl1.1 \
3228
sasl2-bin \
3329
libsasl2-modules-ldap \
3430
lua-basexx \
35-
patch \
36-
&& apt-dpkg-wrap apt-get install -t stretch-backports -y \
3731
lua-ldap \
3832
lua-sec \
33+
patch \
3934
&& apt-cleanup \
4035
&& rm -rf /etc/prosody
4136

0 commit comments

Comments
 (0)