Dockerfile: Switch to modern way of adding Prosody repo

60MB image size reduction
This commit is contained in:
Kim Alvefur
2026-02-14 18:43:17 +01:00
parent 36fb07b2d4
commit 3e85e9d2b6
+3 -4
View File
@@ -6,13 +6,12 @@ ARG PROSODY_PACKAGE=prosody-0.12
ARG LUA_PACKAGE=lua5.4
ARG BUILD_ID=
ADD https://prosody.im/downloads/repos/bookworm/prosody.sources /etc/apt/sources.list.d/prosody.sources
# Install dependencies
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
extrepo tini \
&& extrepo enable prosody \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
tini \
${PROSODY_PACKAGE} \
${LUA_PACKAGE} \
lua-unbound \