From 3e85e9d2b610bc87b3d586910aa9746f05ecffb1 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 14 Feb 2026 18:43:17 +0100 Subject: [PATCH] Dockerfile: Switch to modern way of adding Prosody repo 60MB image size reduction --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 817f019..cf54058 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \